Skip to content

Commit

Permalink
distinguish between canary-main and canary-next
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Oct 8, 2023
1 parent b368f24 commit 7163ffc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/nightly.yml → .github/workflows/canary.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Nightly Release
name: Canary Release

# on every commit to main, we want to publish a snapshot release:
# for more info: https://github.com/changesets/changesets/blob/main/docs/snapshot-releases.md
Expand All @@ -11,7 +11,7 @@ env:
CI: true
jobs:
publish:
name: Publish Nightly Version
name: Publish Canary Version
runs-on: ubuntu-22.04
steps:
- name: Creating .npmrc
Expand Down Expand Up @@ -57,4 +57,10 @@ jobs:
run: |
pnpm changeset version --snapshot
pnpm run build
<<<<<<< Updated upstream:.github/workflows/nightly.yml
pnpm changeset publish --no-git-tag --snapshot --tag nightly
=======
pnpm changeset publish --no-git-tag --snapshot --tag canary-${GITHUB_BASE_REF}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
>>>>>>> Stashed changes:.github/workflows/canary.yml

0 comments on commit 7163ffc

Please sign in to comment.