Skip to content

Commit

Permalink
Fix publish steps (#12)
Browse files Browse the repository at this point in the history
* Update build.yml

* Update release.yml
  • Loading branch information
jperedadnr authored Nov 27, 2024
1 parent 9476f30 commit 880a5ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
ver=$(./gradlew properties -q | grep "version:" | awk '{print $2}')
if [[ $ver == *"SNAPSHOT"* ]]
then
./gradlew publish -PgluonNexusDeployUsername=NEXUS_USERNAME -PgluonNexusDeployPassword=NEXUS_PASSWORD
./gradlew publish -PgluonNexusDeployUsername=$NEXUS_USERNAME -PgluonNexusDeployPassword=$NEXUS_PASSWORD
fi
shell: bash
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
ver=$(./gradlew properties -q | grep "version:" | awk '{print $2}')
if [[ $ver != *"SNAPSHOT"* ]]
then
./gradlew publish -PgluonNexusDeployUsername=NEXUS_USERNAME -PgluonNexusDeployPassword=NEXUS_PASSWORD
./gradlew publish -PgluonNexusDeployUsername=$NEXUS_USERNAME -PgluonNexusDeployPassword=$NEXUS_PASSWORD
fi
shell: bash
env:
Expand Down

0 comments on commit 880a5ac

Please sign in to comment.