1 parent 3306d01 commit 3e9b441Copy full SHA for 3e9b441
1 file changed
.github/workflows/release.yml
@@ -44,7 +44,17 @@ jobs:
44
fi
45
46
- name: Bump version
47
+ id: bump
48
if: steps.bump-type.outputs.type != ''
- run: bump ${{ steps.bump-type.outputs.type }} --brave
49
+ run: |
50
+ bump ${{ steps.bump-type.outputs.type }} --brave
51
+ echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
52
env:
53
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
+
55
+ - name: Create GitHub Release
56
+ if: steps.bump.outputs.tag != ''
57
+ uses: softprops/action-gh-release@v2
58
+ with:
59
+ tag_name: ${{ steps.bump.outputs.tag }}
60
+ generate_release_notes: true
0 commit comments