Version Packages (#119)

* Version Packages

* Fixup version bump

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
This commit is contained in:
github-actions[bot]
2021-11-25 18:07:53 +01:00
committed by GitHub
co-authored by github-actions[bot] Mateusz Burzyński
parent 3ea945d945
commit 2eadeb0ff8
3 changed files with 10 additions and 9 deletions
-5
View File
@@ -1,5 +0,0 @@
---
"@changesets/action": major
---
From now on this action will be released using the Changesets-based workflow (using itself). Thanks to that we'll have a good release history. The users will be able to find specific versions of the action and will be able to track changes over time. It also improves the security as the build artifact will always get built in the CI environment, using a frozen lockfile.
+6
View File
@@ -1 +1,7 @@
# @changesets/action # @changesets/action
## 1.0.0
### Major Changes
- [#118](https://github.com/changesets/action/pull/118) [`05c863d`](https://github.com/changesets/action/commit/05c863d3f980125585016a593b5cb45b27d19c2c) Thanks [@Andarist](https://github.com/Andarist)! - From now on this action will be released using the Changesets-based workflow (using itself). Thanks to that we'll have a good release history. The users will be able to find specific versions of the action and will be able to track changes over time. It also improves the security as the build artifact will always get built in the CI environment, using a frozen lockfile.
+4 -4
View File
@@ -50,7 +50,7 @@ jobs:
run: yarn run: yarn
- name: Create Release Pull Request - name: Create Release Pull Request
uses: changesets/action@master uses: changesets/action@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
``` ```
@@ -88,7 +88,7 @@ jobs:
- name: Create Release Pull Request or Publish to npm - name: Create Release Pull Request or Publish to npm
id: changesets id: changesets
uses: changesets/action@master uses: changesets/action@v1
with: with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish # This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release publish: yarn release
@@ -155,7 +155,7 @@ jobs:
run: yarn run: yarn
- name: Create Release Pull Request - name: Create Release Pull Request
uses: changesets/action@master uses: changesets/action@v1
with: with:
# this expects you to have a npm script called version that runs some logic and then calls `changeset version`. # this expects you to have a npm script called version that runs some logic and then calls `changeset version`.
version: yarn version version: yarn version
@@ -168,7 +168,7 @@ jobs:
If you are using [Yarn Plug'n'Play](https://yarnpkg.com/features/pnp), you should use a custom `version` command so that the action can resolve the `changeset` CLI: If you are using [Yarn Plug'n'Play](https://yarnpkg.com/features/pnp), you should use a custom `version` command so that the action can resolve the `changeset` CLI:
```yaml ```yaml
- uses: changesets/action@master - uses: changesets/action@v1
with: with:
version: yarn changeset version version: yarn changeset version
... ...