We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fc8cbe commit f7f21c6Copy full SHA for f7f21c6
.github/workflows/release.yml
@@ -52,8 +52,17 @@ jobs:
52
- name: pnpm install
53
run: pnpm install
54
55
+ - name: Capture new release version
56
+ id: version
57
+ run: |
58
+ pnpm changeset version
59
+ echo "version=$(jq -r '.version' package.json)" >> $GITHUB_OUTPUT
60
+ git restore .
61
+
62
- uses: changesets/action@v1
63
with:
64
+ title: 'Release v${{ steps.version.outputs.version }}'
65
+ commit: 'Release v${{ steps.version.outputs.version }}'
66
publish: pnpm changeset publish
67
env:
68
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments