forked from line/armeria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.post-release-msg
34 lines (23 loc) · 1011 Bytes
/
.post-release-msg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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