Skip to content

Commit

Permalink
fix: snapshot release (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
taishinaritomi authored Sep 15, 2023
1 parent 52a388e commit af8a9d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/snapshot_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ jobs:
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> "$HOME/.npmrc"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: |
pnpm changeset version --snapshot snapshot
- run: OUTPUT=$(
pnpm changeset version --snapshot snapshot &&
pnpm changeset publish --snapshot --no-git-tag --tag snapshot
)
echo "body=$OUTPUT" >> "$GITHUB_OUTPUT
id: changeset_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit af8a9d3

Please sign in to comment.