Skip to content

Commit

Permalink
ci: automate approval process
Browse files Browse the repository at this point in the history
  • Loading branch information
Yalz committed Sep 18, 2023
1 parent 0a614e4 commit 729cf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/3.approve-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
export VERSION=$(mvn help:evaluate -Dexpression="project.version" -q -DforceStdout)
echo "version=$VERSION" >> $GITHUB_ENV
echo "current version: ${{ env.version }}"
echo "current version: $VERSION"
if [[ "$env.version" == *"SNAPSHOT"* ]]; then
echo "Dealing with a snapshot version. Current version: ${{ env.version }}"
echo "New version: ${ env.version //-SNAPSHOT//g }"
Expand Down

0 comments on commit 729cf5d

Please sign in to comment.