Skip to content
Permalink
Browse files

Update to next development version via Travis CI

  • Loading branch information
abhinayagarwal committed Dec 8, 2019
1 parent 4a4b934 commit d1b68da63ed27a5bd51eb8953426e9e739b4673a
Showing with 9 additions and 1 deletion.
  1. +9 −1 .ci/deploy.sh
@@ -8,4 +8,12 @@ fi

./gradlew publish -PsonatypeUsername=$SONATYPE_USERNAME -PsonatypePassword=$SONATYPE_PASSWORD \
-Psigning.keyId=$GPG_KEY_ID -Psigning.password=$GPG_KEY_PASSPHRASE -Psigning.secretKeyRingFile=/home/travis/build/controlsfx/controlsfx/sonatype.gpg \
-Dorg.gradle.internal.publish.checksums.insecure=true
-Dorg.gradle.internal.publish.checksums.insecure=true

# Update to next development version
newVersion=${TRAVIS_TAG%.*}.$((${TRAVIS_TAG##*.} + 1))
sed -i "0,/^controlsfx_specification_version=$TRAVIS_TAG/s//controlsfx_specification_version=$newVersion/" controlsfx-build.properties
sed -i "0,/^artifact_suffix=/s//artifact_suffix=-SNAPSHOT/" controlsfx-build.properties

git commit controlsfx-build.properties -m "Upgrade version to $newVersion-SNAPSHOT" --author "Abhinay Agarwal <abhinay_agarwal@live.com>"
git push https://abhinayagarwal:$GITHUB_PASSWORD@github.com/controlsfx/controlsfx HEAD:master

0 comments on commit d1b68da

Please sign in to comment.
You can’t perform that action at this time.