File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,14 @@ name: v4.x releases
2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ # Pushes to the branch below will test the release workflow without
7
+ # publishing version on npm or generating new git tags
8
+ - v4.x-test
5
9
tags :
6
10
- ' v4.[0-9]+.[0-9]+'
7
11
- ' v4.[0-9]+.[0-9]+-alpha.[0-9]+'
8
12
- ' v4.[0-9]+.[0-9]+-beta.[0-9]+'
9
- # The "test" prerelease version exist solely to validate changes on the
10
- # release workflow. This is intended to be published
11
- - ' v4.[0-9]+.[0-9]+-test.[0-9]+'
12
13
13
14
jobs :
14
15
install :
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ latest_major=$(echo $latest_version | cut -d. -f1)
13
13
14
14
15
15
# If it's a test prerelease, we just want to test the release workflow (dry run it!)
16
- if [[ " $workflow_version " == * " -test. " * ]]; then
16
+ if [[ " $workflow_version " == * " -test" * ]]; then
17
17
npm publish --tag $workflow_track --dry-run && \
18
18
exit 0
19
19
fi
You can’t perform that action at this time.
0 commit comments