-
Notifications
You must be signed in to change notification settings - Fork 6
/
RELEASE.txt
21 lines (16 loc) · 1.09 KB
/
RELEASE.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Before release
1. Change ats.framework.version property in pom.xml to whatever the latest release version is
Deploying release
1. Add ssh key to your github account ( if you don't have one already ) - more information on https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
- you can check if via executing ssh -T [email protected] ( you must be inside project's directory )
2. Put the project's settings.xml in ~/.m2
3. Set Sonatype's username and password, either via environment variables ( export CI_DEPLOY_USERNAME=yourusername, CI_DEPLOY_PASSWORD=yourpassword ), or via plain text in ~/.m2/settings.xml
4. Import pgp keys:
- gpg2 --import public.key
- gpg2 --import private.key
5. Run utils/deploy.sh
On success, the release is visible in https://oss.sonatype.org/content/repositories/releases/com/axway/ats/ and after a couple of hours in search.maven.org
If an error occured, perform mvn release:rollback. Check if tag is added to github. If yes, perform:
- git tag -d sometag
- git push origin :refs/tags/sometag
And finally, fix the errors and run the deploy script again