Skip to content

Commit

Permalink
Skip canary release on stable releases (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdax98 authored Jan 21, 2025
1 parent 77ced35 commit 825e7f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: pnpm run copy-schema-files

- name: Publish Canary release
if: ${{ github.ref_name == 'main' }}
if: ${{ github.ref_name == 'main' && !contains(github.event.head_commit.message, 'Version Packages') }}
run: |
echo --- > .changeset/canary.md
echo '"@comet/brevo-admin": patch' >> .changeset/canary.md
Expand All @@ -47,7 +47,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish Canary release
if: ${{ github.ref_name == 'next' }}
if: ${{ github.ref_name == 'next' && !contains(github.event.head_commit.message, 'Version Packages') }}
run: |
echo --- > .changeset/canary.md
echo '"@comet/brevo-admin": major' >> .changeset/canary.md
Expand Down

0 comments on commit 825e7f7

Please sign in to comment.