Comcast / sirius

A distributed system library for managing application reference data
http://comcast.github.io/sirius/
Apache License 2.0
298 stars 49 forks source link

Automated releases #149

Closed jryan128 closed 4 years ago

jryan128 commented 4 years ago

To release, a person would go to the github releases tab, and create a new release. Travis ci will then pick up the release as a tag and deploy using the publish.sh script.

The publish.sh script then uses the sbt-sonatype plugin to publish, stage, and release to the public maven repository. The script overrides the version that is hard-coded inside build.sbt with the version in the tag during each release, so it is optional to have to update the version in build.sbt before releasing.

The account used for sonatype is Jonathan Ryan's. I'm using a user token so it's not my real credentials. I also created a GPG key to be used by travis for signing the release, that I've added to my github GPG keys. We may want to add other people's GPG keys, and sonatype credentials, and have each release's signature match the person who actually released it.