Skip to content

Commit 4d0e202

Browse files
committed
Fix release workflow for main release
1 parent 6b2fbb7 commit 4d0e202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: chmod +x ./mvnw
3333

3434
- name: Validate SNAPSHOT version
35-
if: github.event_name == 'push' || inputs.snapshot == true
35+
if: inputs.snapshot == true
3636
run: |
3737
VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)
3838
if [[ "$VERSION" != *-SNAPSHOT ]]; then

0 commit comments

Comments
 (0)