Skip to content

Commit

Permalink
add push tags, update workflow (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky authored Jul 7, 2022
1 parent 69c14fd commit 59ac4e3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ steps:
- npm config set "//registry.npmjs.org/:_authToken" $${NPM_TOKEN}
- echo "--- Install dependencies"
- HUSKY=0 yarn install --immutable
- echo +++ Release packages"
- echo "+++ Release packages"
- yarn release
plugins:
- ssh://git@github.com/segmentio/cache-buildkite-plugin#v2.0.0:
Expand Down
7 changes: 6 additions & 1 deletion .changeset/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works with mono-repos or single package repos to help you version and release your code. You can find the full documentation for it [in](https://github.com/changesets/changesets)
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
5 changes: 4 additions & 1 deletion .github/workflows/release-creator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 12.x
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"postinstall": "husky install",
"changeset": "changeset",
"update-versions-and-changelogs": "changeset version && yarn version-run-all",
"release": "yarn prepare-run-all && changeset publish && yarn postpublish-run-all",
"release": "yarn prepare-run-all && changeset publish && git push --no-verify origin --tags && yarn postpublish-run-all",
"prepare-run-all": "yarn workspaces foreach -pt --no-private run prepare",
"postpublish-run-all": "yarn workspaces foreach -pt --no-private run postpublish",
"version-run-all": "yarn workspaces foreach -pt --no-private run version"
Expand Down

0 comments on commit 59ac4e3

Please sign in to comment.