File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,12 @@ jobs:
5959 run : npx semantic-release --dry-run --branches 9520_gha # Uncomment for testing purposes
6060
6161 - name : Publish to Maven Central
62+ if : startsWith(github.ref, 'refs/tags/v')
6263 env :
63- TRAVIS_TAG : ${{ github.event.release.tag_name }} # for setMavenVersion
64+ # TRAVIS_TAG: ${{ github.event.release.tag_name }} # for setMavenVersion
65+ TRAVIS_TAG : ${GITHUB_REF##*/} # for setMavenVersion
6466 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }} # for .travis.settings.xml
65- OSSRH_PASSWORD : ${{ secrets.OSSRH_USERNAME }}
67+ OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
6668 run : |
6769 build/setupSigning.sh
6870 build/setMavenVersion.sh
Original file line number Diff line number Diff line change 22
33# This script will check $TRAVIS_TAG to see if we need to run maven to
44# set the artifact version #'s.
5+ printf " \n>>>>> WWW Setting artifact version #'s to: %s\n" ${TRAVIS_TAG: 1}
56
67if [[ -n " ${TRAVIS_TAG} " ]]; then
78 printf " \n>>>>> Setting artifact version #'s to: %s\n" ${TRAVIS_TAG: 1}
You can’t perform that action at this time.
0 commit comments