forked from line/centraldogma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.post-release-msg
32 lines (21 loc) · 925 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
1. Upload the artifacts to the staging repository and prepare the web site:
git checkout $tag
./gradlew --no-daemon clean publish tarball site
2. Close and release the staging repository at:
https://oss.sonatype.org/
3. Close the milestone and set its release date at:
https://github.com/line/centraldogma/milestones
4. Update the release note and upload the tarball at:
https://github.com/line/centraldogma/releases/tag/${tag}
5. Build a docker image and push it into docker hub
./gradlew :dist:docker
docker login
docker push line/centraldogma:${releaseVersion}
docker push line/centraldogma:latest
6. Copy the web site generated to the 'gh-pages' branch. e.g.
cd ../site-centraldogma
rm -fr .buildinfo .doctrees .gradle *
rsync -aiP --exclude '.*' ../upstream-centraldogma/site/build/site/ .
git add -A .
git commit --amend -m 'Deploy the web site'
git push --force