Skip to content

Commit

Permalink
Skip canary release on stable releases (#2194)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyomair authored Jun 20, 2024
1 parent 18d1fd5 commit ea95deb
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/cli": 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/cli": major' >> .changeset/canary.md
Expand Down

0 comments on commit ea95deb

Please sign in to comment.