Skip to content

Commit 175e51e

Browse files
authored
Update maven-publish-on-push.yml
1 parent f9c6acd commit 175e51e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven-publish-on-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
4242
echo "version=${version}" >> $GITHUB_OUTPUT
4343
44-
- name: Check if version is a snapshot version
44+
- name: Check version properties
4545
id: check_release
4646
run: |
4747
version="${{ steps.read_version.outputs.version }}"
@@ -50,7 +50,7 @@ jobs:
5050
else
5151
echo "is_snapshot=false" >> $GITHUB_OUTPUT
5252
fi
53-
if [[ ${{ github.ref_name }} =~ **/tags/** ||; then
53+
if [[ ${{ github.ref_name }} =~ **/tags/** ]]; then
5454
echo "has_tag=true" >> $GITHUB_OUTPUT
5555
else
5656
echo "has_tag=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)