We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33efe9d commit 811c439Copy full SHA for 811c439
.github/workflows/publish.yml
@@ -46,3 +46,16 @@ jobs:
46
env:
47
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48
NPM_CONFIG_PROVENANCE: true
49
+
50
+ - name: Create GitHub Release
51
+ if: steps.changesets.outputs.published == 'true'
52
+ run: |
53
+ VERSION=$(echo '${{ steps.changesets.outputs.publishedPackages }}' | jq -r '.[] | select(.name == "r2-explorer") | .version')
54
+ if [ -n "$VERSION" ]; then
55
+ gh release create "v${VERSION}" \
56
+ --title "v${VERSION}" \
57
+ --generate-notes \
58
+ --target main
59
+ fi
60
+ env:
61
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments