Permalink
Browse files

Release snapshots to sonatype

  • Loading branch information...
abhinayagarwal committed Sep 6, 2018
1 parent 67a91d2 commit d5a2562cec048f8b04c5e80bcc40baf10d431cab
Showing with 4 additions and 4 deletions.
  1. +2 −2 .ci/commit.sh
  2. +2 −2 bitbucket-pipelines.yml
@@ -6,5 +6,5 @@ newVersion=${BITBUCKET_BOOKMARK%.*}.$((${BITBUCKET_BOOKMARK##*.} + 1))
sed -i "/controlsfx_specification_version=/ s/=.*/=$newVersion/" controlsfx-build.properties
# Commit back the new version
apt-get update && apt-get install mercurial -y
hg commit controlsfx-build.properties -m "Upgrading to next snapshot version" -u "Jonathan Giles <jonathan@jonathangiles.net>"
hg push https://JonathanGiles:$BITBUCKET_PASSWORD@bitbucket.org/controlsfx/controlsfx
hg commit controlsfx-build.properties -m "Upgrading to next snapshot version" -u "ControlsFX Bot <controlsfxbot@jonathangiles.net>"
hg push https://$BITBUCKET_USERNAME:$BITBUCKET_PASSWORD@bitbucket.org/controlsfx/controlsfx
@@ -8,7 +8,7 @@ pipelines:
- gradle
script:
- chmod +x gradlew
- ./gradlew clean assemble
- ./gradlew clean assemble uploadPublished -PsonatypeUsername=$SONATYPE_USERNAME -PsonatypePassword=$SONATYPE_PASSWORD -Ptransifex.username=$TRANSIFEX_USERNAME -Ptransifex.password=$TRANSIFEX_PASSWORD
9.0.0:
- step:
name: Build and assemble 9.0.0 branch
@@ -17,7 +17,7 @@ pipelines:
- gradle
script:
- chmod +x gradlew
- ./gradlew clean assemble
- ./gradlew clean assemble uploadPublished -PsonatypeUsername=$SONATYPE_USERNAME -PsonatypePassword=$SONATYPE_PASSWORD -Ptransifex.username=$TRANSIFEX_USERNAME -Ptransifex.password=$TRANSIFEX_PASSWORD

bookmarks:
8.[0-9][0-9]*.[0-9][0-9]*:

0 comments on commit d5a2562

Please sign in to comment.