Skip to content

Commit ccbb768

Browse files
authored
Also run release job on 5.x tags (#491)
1 parent 3979104 commit ccbb768

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ on:
1212
branches:
1313
- main
1414
tags:
15-
- 3.*
16-
- 4.*
15+
- 5.*
1716
pull_request:
1817
branches:
1918
- main
@@ -81,7 +80,7 @@ jobs:
8180
needs: [build] # build job must pass before we can release
8281

8382
if: github.event_name == 'push'
84-
&& (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/3.') || startsWith(github.ref, 'refs/tags/4.'))
83+
&& (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/5.'))
8584
&& github.repository == 'mockito/mockito-kotlin'
8685
&& !contains(toJSON(github.event.commits.*.message), '[skip release]')
8786

0 commit comments

Comments
 (0)