We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c6acd commit 175e51eCopy full SHA for 175e51e
.github/workflows/maven-publish-on-push.yml
@@ -41,7 +41,7 @@ jobs:
41
version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
42
echo "version=${version}" >> $GITHUB_OUTPUT
43
44
- - name: Check if version is a snapshot version
+ - name: Check version properties
45
id: check_release
46
run: |
47
version="${{ steps.read_version.outputs.version }}"
@@ -50,7 +50,7 @@ jobs:
50
else
51
echo "is_snapshot=false" >> $GITHUB_OUTPUT
52
fi
53
- if [[ ${{ github.ref_name }} =~ **/tags/** ||; then
+ if [[ ${{ github.ref_name }} =~ **/tags/** ]]; then
54
echo "has_tag=true" >> $GITHUB_OUTPUT
55
56
echo "has_tag=false" >> $GITHUB_OUTPUT
0 commit comments