Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Releasing the library

xrigau edited this page Oct 13, 2014 · 3 revisions

Releasing to bintray

The project can be released from the CI by triggering a manual build and checking the MANUAL_PUBLISH box:

That value is set to false by default so every time a PR is merged it won't publish to bintray, it will only publish when the build is triggered manually and the checkbox is checked.

How it works

The Job configuration on the CI already contains the credentials to publish to bintray so you don't have to worry about it. The task that must be used to deploy is publishReleaseToBintray. This task runs both generateRelease and bintrayUpload, this means all the necessary files to publish to a maven repo will be generated first and then the bintray upload will be executed which will publish the new version of the library.

Credentials

In order to release we use hal's credentials in bintray (using Github login), which are passed in as command line parameter in the CI.

Clone this wiki locally