We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34b4852 commit 14e6c70Copy full SHA for 14e6c70
1 file changed
.github/workflows/publish-ui-npm.yaml
@@ -63,3 +63,21 @@ jobs:
63
release-mode: ${{ needs.detect-mode.outputs.release-mode }}
64
bump-type: ${{ needs.detect-mode.outputs.bump-type }}
65
secrets: inherit
66
+
67
+ create-release:
68
+ name: Create GitHub Release
69
+ needs: [detect-mode, publish]
70
+ if: needs.detect-mode.outputs.release-mode == 'release'
71
+ runs-on: ubuntu-latest
72
+ permissions:
73
+ contents: write
74
+ steps:
75
+ - name: Create GitHub Release
76
+ env:
77
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78
+ RELEASE_VERSION: ${{ needs.publish.outputs.new-version }}
79
+ run: |
80
+ gh release create "$RELEASE_VERSION" \
81
+ --title "@datum-cloud/activity-ui $RELEASE_VERSION" \
82
+ --generate-notes \
83
+ --repo ${{ github.repository }}
0 commit comments