Skip to content

Commit 65fdfcc

Browse files
added release step
1 parent ee1ad3a commit 65fdfcc

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,17 @@ jobs:
6969
7070
# Push the tag to the repository
7171
git push origin $TAG_NAME
72+
73+
# Export tag name for next step
74+
echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT
75+
id: create_tag
76+
77+
- name: Create GitHub Release
78+
uses: softprops/action-gh-release@v2
79+
with:
80+
tag_name: ${{ steps.create_tag.outputs.tag_name }}
81+
name: Release ${{ steps.create_tag.outputs.tag_name }}
82+
draft: false
83+
prerelease: false
84+
env:
85+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)