Skip to content

Commit 5363015

Browse files
authored
Update tag.yml
1 parent 1a5d546 commit 5363015

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/tag.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,18 @@ jobs:
1313
with:
1414
text: ${{ github.event.head_commit.message }}
1515
regex: '^Release ([0-9]+\.[0-9]+\.[0-9]+)'
16-
- uses: actions-ecosystem/action-push-tag@v1
17-
if: ${{ steps.regex-match.outputs.match != '' }}
16+
- name: Create Release
17+
if: steps.regex-match.outputs.match != ''
18+
id: create_release
19+
uses: actions/create-release@v1
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1822
with:
19-
tag: ${{ steps.regex-match.outputs.group1 }}
23+
tag_name: ${{ steps.regex-match.outputs.group1 }}
24+
release_name: Release ${{ steps.regex-match.outputs.group1 }}
25+
body: ${{ steps.regex-match.outputs.group1 }}
26+
draft: false
27+
prerelease: false
2028
- uses: peter-evans/repository-dispatch@v1
2129
if: ${{ steps.regex-match.outputs.match != '' }}
2230
with:

0 commit comments

Comments
 (0)