Skip to content

Commit

Permalink
Update tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rom1504 authored Nov 5, 2023
1 parent 1a5d546 commit 5363015
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@ jobs:
with:
text: ${{ github.event.head_commit.message }}
regex: '^Release ([0-9]+\.[0-9]+\.[0-9]+)'
- uses: actions-ecosystem/action-push-tag@v1
if: ${{ steps.regex-match.outputs.match != '' }}
- name: Create Release
if: steps.regex-match.outputs.match != ''
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ steps.regex-match.outputs.group1 }}
tag_name: ${{ steps.regex-match.outputs.group1 }}
release_name: Release ${{ steps.regex-match.outputs.group1 }}
body: ${{ steps.regex-match.outputs.group1 }}
draft: false
prerelease: false
- uses: peter-evans/repository-dispatch@v1
if: ${{ steps.regex-match.outputs.match != '' }}
with:
Expand Down

0 comments on commit 5363015

Please sign in to comment.