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
+4 -4
View File
@@ -50,7 +50,7 @@ jobs:
run: yarn
- name: Create Release Pull Request
uses: changesets/action@master
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
@@ -88,7 +88,7 @@ jobs:
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@master
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
@@ -155,7 +155,7 @@ jobs:
run: yarn
- name: Create Release Pull Request
uses: changesets/action@master
uses: changesets/action@v1
with:
# this expects you to have a npm script called version that runs some logic and then calls `changeset 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:
```yaml
- uses: changesets/action@master
- uses: changesets/action@v1
with:
version: yarn changeset version
...