fix: update snapshot-deploy ci job

(cherry picked from commit 8715f4305d)
This commit is contained in:
mworzala 2023-11-23 16:31:13 +00:00 committed by Matt Worzala
parent c65a921332
commit 40a8f9a2da
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ jobs:
echo "short_commit_hash=${GITHUB_SHA::10}" >> $GITHUB_OUTPUT
- name: Publish to Sonatype
env:
SHORT_COMMIT_HASH: ${{ steps.vars.outputs.short_commit_hash }}
MINESTOM_VERSION: ${{ steps.vars.outputs.short_commit_hash }}
MINESTOM_CHANNEL: release
run: |
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
echo "Version: ${SHORT_COMMIT_HASH}" >> $GITHUB_STEP_SUMMARY