fb77bedf75 | ||
---|---|---|
.. | ||
config.json | ||
readme.md | ||
run.py | ||
utilities.py |
readme.md
How to do release automation
-
setup gpg key Following this instruction to setup gpg key and publish it. save your passphrase.
-
python version >=3.5.
-
install necessary python packages: requests, xmltodict, jenkinsapi
-
run maven install locally. Important when do build please use profile
release
which will contains ai PROD instrument key. Please refer code here for detail. -
setup configuration in config.json
"targetFolder": "//path-to-your-local-to-copy-signed-jars", ... "passwords": { "jenkins": "your jenkins key to jenkins server http://azuresdkci.cloudapp.net/", "gpg": "your gpg key passphrase", "nexus": "your nexus key" }
-
run run.py.
-
verify your packages with staging repository id in output, specify repo id in pom.xml.
<repositories> <repository> <id>repo-id</id> <name>repo-id</name> <url>https://oss.sonatype.org/content/repositories/repo-id</url> </repository> </repositories>
-
after verification, login to https://oss.sonatype.org, release your repository.