Skip to content

Commit 365ba0f

Browse files
committed
Fix snapshot version
1 parent 292fe68 commit 365ba0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
2929
- name: Update Maven Project version
3030
run: |
31-
mvn versions:set -DnewVersion='${{env.RELEASE_VERSION}}-${{env.GITHUB_SHA}}'
31+
mvn versions:set -DnewVersion='${{env.RELEASE_VERSION}}-${{github.sha}}-SNAPSHOT'
3232
mvn versions:update-child-modules
3333
- name: Build and publish to GitHub Packages
3434
run: mvn deploy -s ${{ github.workspace }}/.m2/settings.xml

0 commit comments

Comments
 (0)