Skip to content

Commit

Permalink
chore(CI): specify all 3 release branches for release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
bencromwell committed Jan 19, 2024
1 parent d2751bd commit a33d1b2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@ on:
branches:
- main
- master
- v3
- 3.x
- 2.x
- 1.x

jobs:

release-please:
runs-on: [ ubuntu-latest ]
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v3'
if: |
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/master' ||
github.ref == 'refs/heads/1.x' ||
github.ref == 'refs/heads/2.x' ||
github.ref == 'refs/heads/3.x'
outputs:
release_created: ${{ steps.release-please.outputs.release_created }}
tag_name: ${{ steps.release-please.outputs.tag_name }}
Expand Down

0 comments on commit a33d1b2

Please sign in to comment.