forked from torquebox/torquebox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HOWTO-release.txt
64 lines (44 loc) · 2.12 KB
/
HOWTO-release.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
We build releases on the Contegix server as the 'torquebox-build' user.
Ensure you're using a JDK6:
echo $JAVA_HOME
which java
java -version
When building, skipping tests is fine, assuming your local and CI builds
both pass.
To do the test-build
$ rm -rf torquebox
$ git clone git://github.com/torquebox/torquebox.git
$ cd torquebox
$ mvn -s build-support/settings.xml -Pdist,local install -Dmaven.test.skip=true
Verify it. If it looks good, then remove the SNAPSHOT suffix in all
the pom's, commit and push.
$ perl -p -i -e 's/(.*)-SNAPSHOT/\1/' $(find . -name pom.xml)
Then back on the build box, check out the new version, build again and deploy
$ rm -rf torquebox
$ git clone git://github.com/torquebox/torquebox.git
$ cd torquebox
$ mvn -s build-support/settings.xml -Pdist,local install -Dmaven.test.skip=true
$ mvn -Pdist,local clean
$ mvn -s build-support/settings.xml -Pdist,local deploy -Dmaven.test.skip=true
The "local" profile sets up the distribution repository as local to the
Contegix box, so it doesn't attempt to SSH things around, and instead
performs a local copy into the repository.
Tag the release on github, e.g.
$ git tag 1.0.0.Beta22 f8268c1
$ git push origin --tags
Manage versions in JIRA project administration. Mark the version as released.
Update torquebox.org ([email protected]:torquebox/torquebox.org.git).
Verify your awestruct gem is current, and that you have the necessary
site-skin checked out. See README.md.
- Add the release to _config/releases.yml (scrape JIRA for jira_version)
- Create a news item announcing the release with 'layout: release' header
- Add the JIRA release notes to the announcement
- Verify links on the /download page
- Stage and deploy the docs per README.md
Use bit.ly to shorten the URL for the torquebox.org release announcement
- Give it a custom URL like bit.ly/tb100b22
Let the world know
- Tweet from @torquebox (password in oddthesis-private)
- Announce on [email protected] and [email protected]
- Announce on [email protected]