2016-02-13 12:02:26 +08:00
|
|
|
Release Checklist
|
|
|
|
-----------------
|
|
|
|
|
2017-10-16 20:09:58 +08:00
|
|
|
1) QA
|
2016-02-15 12:37:23 +08:00
|
|
|
|
2017-10-16 20:09:58 +08:00
|
|
|
a) ab / h2load / h2spec
|
2016-02-29 11:26:13 +08:00
|
|
|
|
2017-10-16 20:09:58 +08:00
|
|
|
$ ab -n 100000 -c 200 https://127.0.0.1:7681/
|
|
|
|
$ h2load -n 100000 -c 200 https://localhost:7681
|
|
|
|
$ h2spec -h 127.0.0.1 -p 7681 -t -k -o 1
|
2016-02-29 11:26:13 +08:00
|
|
|
|
|
|
|
b) coverity
|
2016-02-15 12:37:23 +08:00
|
|
|
|
2016-02-15 20:55:29 +08:00
|
|
|
$ ../make-coverity-tarball.sh
|
|
|
|
https://scan.coverity.com/projects/warmcat-libwebsockets
|
2016-02-15 12:37:23 +08:00
|
|
|
|
2016-02-29 11:26:13 +08:00
|
|
|
c) test servers + client + browser
|
2016-02-15 20:55:29 +08:00
|
|
|
|
2016-02-29 11:26:13 +08:00
|
|
|
d) valgrind test servers + client + browser
|
2016-02-15 20:55:29 +08:00
|
|
|
|
2016-02-29 11:26:13 +08:00
|
|
|
e) attack.sh
|
2016-02-15 12:37:23 +08:00
|
|
|
|
2017-09-22 09:46:58 +08:00
|
|
|
$ ./test-apps/attack.sh
|
2016-02-15 12:37:23 +08:00
|
|
|
|
2016-02-29 11:26:13 +08:00
|
|
|
f) Autobahn
|
2016-02-15 12:37:23 +08:00
|
|
|
|
|
|
|
$ wstest -m fuzzingserver &
|
2017-09-22 09:46:58 +08:00
|
|
|
$ ./scripts/autobahn-test.sh
|
2016-02-15 12:37:23 +08:00
|
|
|
|
|
|
|
Force update by browser using agent "libwebsockets"
|
|
|
|
http://localhost:8080/test_browser.html
|
|
|
|
|
2017-03-06 15:35:45 +08:00
|
|
|
rsync -av ./reports/* root@warmcat.com:/var/www/libwebsockets.org
|
2016-02-15 12:37:23 +08:00
|
|
|
|
2016-02-15 20:38:59 +08:00
|
|
|
2) soname bump?
|
2016-02-13 12:02:26 +08:00
|
|
|
|
2016-02-15 12:37:23 +08:00
|
|
|
a) We need one if we added / changed / removed apis
|
2016-02-13 12:02:26 +08:00
|
|
|
|
|
|
|
CMakeLists.txt
|
|
|
|
|
|
|
|
set(SOVERSION "6")
|
|
|
|
|
2017-09-22 09:46:58 +08:00
|
|
|
scripts/libwebsockets.spec
|
2016-03-09 10:51:06 +08:00
|
|
|
|
|
|
|
-/%{_libdir}/libwebsockets.so.6
|
|
|
|
+/%{_libdir}/libwebsockets.so.7
|
|
|
|
|
2016-02-15 20:38:59 +08:00
|
|
|
3) changelog
|
2016-02-13 12:02:26 +08:00
|
|
|
|
|
|
|
a) Add next version tag header.
|
|
|
|
|
|
|
|
b) Classify as
|
|
|
|
|
|
|
|
- MINOR bug fixes
|
|
|
|
- MAJOR bug fixes
|
|
|
|
- SECURITY fixes
|
|
|
|
|
2016-02-15 20:38:59 +08:00
|
|
|
4) main version bump
|
2016-02-13 12:02:26 +08:00
|
|
|
|
|
|
|
CMakeLists.txt
|
|
|
|
|
|
|
|
set(CPACK_PACKAGE_VERSION_MAJOR "1")
|
|
|
|
set(CPACK_PACKAGE_VERSION_MINOR "6")
|
|
|
|
set(CPACK_PACKAGE_VERSION_PATCH "0")
|
|
|
|
|
2016-02-15 20:38:59 +08:00
|
|
|
5) specfile
|
2016-02-13 12:02:26 +08:00
|
|
|
|
|
|
|
a) rpm version bump to match CMake one
|
|
|
|
|
2017-09-22 09:46:58 +08:00
|
|
|
scripts/libwebsockets.spec
|
2016-02-13 12:02:26 +08:00
|
|
|
|
|
|
|
Version: 1.6.0
|
|
|
|
|
|
|
|
b) Summarize changelog
|
|
|
|
|
2017-09-22 09:46:58 +08:00
|
|
|
scripts/libwebsockets.spec
|
2016-02-13 12:02:26 +08:00
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sun Jan 17 2016 Andrew Cooks <acooks@linux.com> 1.6.4-1
|
|
|
|
- Bump version to 1.6.4
|
|
|
|
- MINOR fix xyz
|
|
|
|
|
2017-10-16 20:09:58 +08:00
|
|
|
6) Announce latest version on README.md
|
|
|
|
|
|
|
|
7) signed tag
|
2016-02-13 12:02:26 +08:00
|
|
|
|
2016-02-15 12:37:23 +08:00
|
|
|
git tag -s vX.Y[.Z]
|
|
|
|
|
2017-10-16 20:09:58 +08:00
|
|
|
8) git
|
2016-02-15 12:37:23 +08:00
|
|
|
|
|
|
|
a) push
|
|
|
|
|
|
|
|
b) final CI check, if fail delete tag, kill pushed tags, restart flow
|
2016-02-13 12:02:26 +08:00
|
|
|
|
2017-10-16 20:09:58 +08:00
|
|
|
9) website
|
2016-02-15 12:37:23 +08:00
|
|
|
|
|
|
|
a) update latest tag for release branch
|