-
Notifications
You must be signed in to change notification settings - Fork 207
/
release-workflow.txt
70 lines (42 loc) · 1.86 KB
/
release-workflow.txt
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Release steps
-------------
* Check if all the issues are resolved
https://github.com/carrot2/carrot2/issues
* Bump version number to a non-snapshot version (rootProject.version = "...")
vi build.gradle
commit changes.
git commit -am "Bumping version."
* Build and check the entire distribution.
gradlew clean assemble check
* Tag the release.
export VERSION=xxx
git tag release/$VERSION -m "Release $VERSION"
git push origin release/$VERSION
* Update statically published documentation:
git clone git@github.com:carrot2/carrot2.github.io build/carrot2.github.io
mkdir build/carrot2.github.io/release/$VERSION/
cp -R distribution/build/dist/dcs/web/doc build/carrot2.github.io/release/$VERSION/
cp -R distribution/build/dist/dcs/web/javadoc build/carrot2.github.io/release/$VERSION/
cd build/carrot2.github.io/
git add -A .
git commit -am "Documentation for version $VERSION"
git push
cd ../..
* Go to github, find the release tag and create a release for it.
https://github.com/carrot2/carrot2/tags
Attach release binaries from:
distribution/build/distZip/*.zip
* Redeploy public DCS demo frontend. Go to the build plan, locate build for
this version, create a new deployment and promote to production server.
https://builds.carrotsearch.com/browse/C2-C2DCS
NOTE: the staging environment requires the vps node to be (manually) started at ramnode.
* Publish to sonatype staging repo. The max workers
limit is set there because otherwise Nexus creates multiple
repositories automatically for all parallel threads (sigh).
gradlew publishSonatype --max-workers=1
* Go to sonatype, verify and ack the release.
https://s01.oss.sonatype.org/index.html#stagingRepositories
* Bump version number strings to the subsequent version, commit.
* Circulate release news
- Wikipedia page. https://en.wikipedia.org/wiki/Carrot2
* Consider upgrading &C2; in dependent projects