Skip to content

Commit 59ac4e3

Browse files
authored
add push tags, update workflow (#528)
1 parent 69c14fd commit 59ac4e3

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ steps:
124124
- npm config set "//registry.npmjs.org/:_authToken" $${NPM_TOKEN}
125125
- echo "--- Install dependencies"
126126
- HUSKY=0 yarn install --immutable
127-
- echo +++ Release packages"
127+
- echo "+++ Release packages"
128128
- yarn release
129129
plugins:
130130
- ssh://git@github.com/segmentio/cache-buildkite-plugin#v2.0.0:

.changeset/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
# Changesets
22

3-
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)
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.github/workflows/release-creator.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout Repo
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
20+
with:
21+
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
22+
fetch-depth: 0
2023

2124
- name: Setup Node.js 12.x
2225
uses: actions/setup-node@v3

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"postinstall": "husky install",
1818
"changeset": "changeset",
1919
"update-versions-and-changelogs": "changeset version && yarn version-run-all",
20-
"release": "yarn prepare-run-all && changeset publish && yarn postpublish-run-all",
20+
"release": "yarn prepare-run-all && changeset publish && git push --no-verify origin --tags && yarn postpublish-run-all",
2121
"prepare-run-all": "yarn workspaces foreach -pt --no-private run prepare",
2222
"postpublish-run-all": "yarn workspaces foreach -pt --no-private run postpublish",
2323
"version-run-all": "yarn workspaces foreach -pt --no-private run version"

0 commit comments

Comments
 (0)