Skip to content

Commit 3e2621f

Browse files
authored
Allow release job to run on tags
Similar problem with running on tags, it wasn't running the actual release job. Part of #539
1 parent 0e6ba6d commit 3e2621f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
needs: [build] # build job must pass before we can release
8080

8181
if: github.event_name == 'push'
82-
&& (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/5.'))
82+
&& startsWith(github.ref, 'refs/tags/v')
8383
&& github.repository == 'mockito/mockito-kotlin'
8484
&& !contains(toJSON(github.event.commits.*.message), '[skip release]')
8585

0 commit comments

Comments
 (0)