Skip to content

Commit

Permalink
update for snapshot release
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-takei committed May 29, 2024
1 parent f120d6a commit ac5bb74
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release-subpackages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,14 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
publish: yarn release-sebpackages
publish: yarn release-subpackages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Snapshot release to npm
run: |
yarn release-subpackages:next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"slackbot-proxy:build": "turbo run build --filter @growi/slackbot-proxy",
"slackbot-proxy:server": "cd apps/slackbot-proxy && yarn start:prod",
"release-subpackages": "turbo run build --filter @growi/core --filter @growi/pluginkit && changeset publish",
"release-subpackages:next": "turbo run build --filter @growi/core --filter @growi/pluginkit && changeset version --snapshot next && changeset publish --tag next",
"release-subpackages:next": "turbo run build --filter @growi/core --filter @growi/pluginkit && changeset pre enter next && changeset version && changeset publish --no-git-tag --tag next && changeset pre exit",
"version": "yarn version --no-git-tag-version --preid=RC"
},
"dependencies": {
Expand Down

0 comments on commit ac5bb74

Please sign in to comment.