Skip to content

Commit 2203767

Browse files
committed
Run publish also on main branch
1 parent d5eb68b commit 2203767

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: mvn -B verify sonar:sonar
5151

5252
publish:
53-
if: "!contains(github.event.head_commit.message, '[version bump]') && contains(github.ref, 'release')"
53+
if: "!contains(github.event.head_commit.message, '[version bump]')"
5454
runs-on: ubuntu-latest
5555
needs: [ test, sonar ]
5656
steps:
@@ -115,7 +115,7 @@ jobs:
115115
branch: ${{ github.ref }}
116116

117117
bump:
118-
if: "!contains(github.event.head_commit.message, '[version bump]') && contains(github.ref, 'release')"
118+
if: "!contains(github.event.head_commit.message, '[version bump]')"
119119
runs-on: ubuntu-latest
120120
needs: [ publish ]
121121
steps:

0 commit comments

Comments
 (0)