Skip to content

Commit 89a5ebc

Browse files
authored
Workflows (#948)
1 parent 196e208 commit 89a5ebc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎.github/workflows/release-please.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ on:
88
push:
99
branches:
1010
- main
11-
- 12.x
12-
- 13.x
11+
- '*.x'
1312

1413
permissions:
1514
contents: write
@@ -28,7 +27,7 @@ jobs:
2827
token: ${{ secrets.GITHUB_TOKEN }}
2928
release-type: node
3029
target-branch: ${{ github.ref_name }}
31-
versioning-strategy: ${{ (github.ref_name == '12.x' || github.ref_name == '13.x') && 'always-bump-patch' || 'default' }}
30+
versioning-strategy: ${{ endsWith(github.ref_name, '.x') && 'always-bump-patch' || 'default' }}
3231

3332
- run: echo "Release created?... ${{ steps.release.outputs.release_created }}"
3433

0 commit comments

Comments
 (0)