1. Upload the artifacts to the staging repository and prepare the web site:

   git checkout ${tag}
   ./gradlew --no-daemon clean publish site

2. Close and release the staging repository at:

   https://oss.sonatype.org/

3. Close the milestone and set its due date with the date of the release at:

   https://github.com/line/armeria/milestones

4. Update the release note at:

   https://github.com/line/armeria/releases/tag/${tag}

5. Copy the web site generated to the 'gh-pages' branch, e.g.

   cd ../site-armeria
   git checkout gh-pages
   rm -fr .buildinfo .doctrees .gradle *
   rsync -aiP --exclude '.*' --exclude 'Lato' --exclude 'RobotoSlab' ../upstream-armeria/site/build/site/ .
   git add -A .
   git commit --amend -m 'Deploy the web site'
   git push --force

6. Copy the examples to armeria-examples using the script:

   cd ../armeria-examples
   ./update-examples.sh ${releaseVersion} ../upstream-armeria
   git add -A .
   git commit -m 'Update Armeria to ${releaseVersion}'
   git push

7. Send an update pull request to openzipkin-contrib/zipkin-armeria-example
8. Announce the release via Twitter.
