Change how tagging works
This commit is contained in:
parent
eda827847b
commit
bf5764fa73
2 changed files with 7 additions and 9 deletions
5
.changeset/lemon-geese-hang.md
Normal file
5
.changeset/lemon-geese-hang.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"@saleor/app-sdk": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Test changeset
|
9
.github/workflows/prepare-release.yml
vendored
9
.github/workflows/prepare-release.yml
vendored
|
@ -34,14 +34,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
title: Release to npm
|
title: Release to npm
|
||||||
commit: Release to npm
|
commit: Release to npm
|
||||||
publish: pnpm publish
|
publish: pnpm publish && npx changeset tag && git push --follow-tags
|
||||||
# action is automatically pushing even before PR is merged?
|
|
||||||
# This should:
|
|
||||||
# 1. Push to "next" every time
|
|
||||||
# 2. Push to latest AFTER PR is merged
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
- name: Push tags
|
|
||||||
if: steps.changesets.outputs.published == 'true'
|
|
||||||
run: npx changeset tag && git push --follow-tags
|
|
Loading…
Reference in a new issue