There was an error while loading. Please reload this page.
1 parent 6d3fccd commit b1b51ffCopy full SHA for b1b51ff
1 file changed
‎.github/workflows/ci.yml‎
@@ -64,11 +64,18 @@ jobs:
64
- name: Install dependencies
65
run: pnpm install --frozen-lockfile
66
67
+ - name: Get Release Version
68
+ id: versioning
69
+ run: |
70
+ pnpm changeset status --output release.json
71
+ echo "VERSION=$(jq '.releases.[0].newVersion') release.json" >> $GITHUB_OUTPUT
72
+ rm release.json
73
+
74
- name: Create Release Pull Request or Publish
75
id: changesets
76
uses: changesets/action@v1
77
with:
78
publish: pnpm changeset publish
- title: '🔖 chore(release): v${{ fromJson(steps.changesets.output.publishedPackages)[0].version }}'
79
+ title: '🔖 chore(release): v${{ steps.versioning.outputs.VERSION }}'
80
env:
81
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments