Skip to content

Commit

Permalink
fix: retry maven deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
dlangst committed Jul 28, 2022
1 parent a0e0538 commit 8625a01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/setMavenVersion_gha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export GHA_TAG=${GHA_TAG##*/} # Get the last part for true tag name

if [[ -n "${GHA_TAG}" ]]; then
printf "\n>>>>> Setting artifact version to: %s\n" ${GHA_TAG}
printf "\n>>>>> If we were to use colon 1: %s\n: ${GHA_TAG:1}
printf "\n>>>>> If we were to use colon 1: %s\n" ${GHA_TAG:1}
mvn versions:set -DnewVersion=${GHA_TAG} -DgenerateBackupPoms=false
else
printf "\n>>>>> Bypassing artifact version setting for non-tagged build %s\n" ${GHA_TAG}
printf "\n>>>>> Bypassing artifact version setting for non-tagged build: %s\n" ${GHA_TAG}
fi

2 changes: 1 addition & 1 deletion build/setupSigning_gha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -x

echo "Importing signing key..."
gpg --quiet --batch --yes --decrypt --passphrase="$SIGNING_PASSPHRASE" -- output ./build/signing.key ./build/signing.key.gpg
gpg --quiet --batch --yes --decrypt --passphrase="$SIGNING_PASSPHRASE" --output ./build/signing.key ./build/signing.key.gpg

gpg --version
gpg --no-tty --batch --yes --import ./build/signing.key
Expand Down

0 comments on commit 8625a01

Please sign in to comment.