Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 690 Bytes

RELEASING.md

File metadata and controls

29 lines (25 loc) · 690 Bytes

To perform a release of this project

To GitHub (of the plugin itself)

export GITHUB_USER=...
export GITHUB_TOKEN=... 
./gradlew clean githubRelease

To Maven Central Staging only (of the DSL)

export MAVEN_CENTRAL_TOKEN_USERNAME=
export MAVEN_CENTRAL_TOKEN_PASSWORD=
export GOCD_GPG_KEY_ID=
export GOCD_GPG_KEYRING_FILE=
export GOCD_GPG_PASSPHRASE=
./gradlew publishToSonatype

To Maven Central and release publicly

export MAVEN_CENTRAL_TOKEN_USERNAME=
export MAVEN_CENTRAL_TOKEN_PASSWORD=
export GOCD_GPG_KEY_ID=
export GOCD_GPG_KEYRING_FILE=
export GOCD_GPG_PASSPHRASE=
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository