Skip to content

Commit 17a2e5c

Browse files
committed
ci: fix
1 parent 6a2c1cb commit 17a2e5c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ jobs:
6060

6161
- name: Publish to Maven Central
6262
env:
63-
# TRAVIS_TAG: ${{ github.event.release.tag_name }} # for setMavenVersion
6463
GHA_TAG: ${{ github.ref }} # non PR only need to get last part
6564
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} # for .travis.settings.xml
6665
OSSRH_PASSWORD: ${{ secrets.OSSRH_USERNAME }}

build/setMavenVersion_gha.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
export GHA_TAG=${GHA_TAG##*/} # Get the last part for true tag name - "refs/heads/9260_gha"
66

77
if [[ -n "${GHA_TAG}" ]]; then
8-
printf "\n>>>>> Setting artifact version #'s to: %s\n" ${GHA_TAG:1}
8+
printf "\n>>>>> Setting artifact version #'s to: %s\n" ${GHA_TAG}
99
mvn versions:set -DnewVersion=${GHA_TAG:1} -DgenerateBackupPoms=false
1010
else
11-
printf "\n>>>>> Bypassing artifact version setting for non-tagged build %s\n" ${GHA_TAG:1}
11+
printf "\n>>>>> Bypassing artifact version setting for non-tagged build %s\n" ${GHA_TAG}
1212
fi
1313

0 commit comments

Comments
 (0)