Release Checklist
-----------------

0) QA

 a) coverity
 
   $ ../make-coverity-tarball.sh
   https://scan.coverity.com/projects/warmcat-libwebsockets

 b) test servers + client + browser
 
 c) valgrind test servers + client + browser

 d) attack.sh
 
     $ ./test-server/attack.sh

 e) Autobahn

     $ wstest -m fuzzingserver &
     $ ./autobahn-test.sh

     Force update by browser using agent "libwebsockets"
     http://localhost:8080/test_browser.html
     
     scp -rp ./reports to libwebsockets.org

1) api

     $ cp build/doc/* .

2) soname bump?

 a) We need one if we added / changed / removed apis

  CMakeLists.txt

   set(SOVERSION "6")

  libwebsockets.spec

  -/%{_libdir}/libwebsockets.so.6
  +/%{_libdir}/libwebsockets.so.7

3) changelog

 a) Add next version tag header.

 b) Classify as

    - MINOR bug fixes
    - MAJOR bug fixes
    - SECURITY fixes

4) main version bump

  CMakeLists.txt

   set(CPACK_PACKAGE_VERSION_MAJOR "1")
   set(CPACK_PACKAGE_VERSION_MINOR "6")
   set(CPACK_PACKAGE_VERSION_PATCH "0")

5) specfile

 a) rpm version bump to match CMake one

  libwebsockets.spec

   Version: 1.6.0

 b) Summarize changelog

  libwebsockets.spec

%changelog
* Sun Jan 17 2016 Andrew Cooks <acooks@linux.com> 1.6.4-1
- Bump version to 1.6.4
- MINOR fix xyz

6) signed tag

  git tag -s vX.Y[.Z]

7) git

 a) push
 
 b) final CI check, if fail delete tag, kill pushed tags, restart flow

8) website

 a) update latest tag for release branch