Skip to content

Commit

Permalink
Fix tag regex. Actualize release PR description
Browse files Browse the repository at this point in the history
  • Loading branch information
skhomuti committed Nov 4, 2022
1 parent 956115e commit 0207ce6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-tag-and-trigger-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Get tag value
id: tag
run: |
TAG="$(grep -oP '\d+\.\d+\.\d+' <<< "$MESSAGE")"
TAG="$(grep -oP '^chore\(release\).*\K(\d+\.\d+\.\d+)' <<< "$MESSAGE")"
echo "$TAG"
echo "tag=$TAG" >> $GITHUB_OUTPUT
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
with:
branch: pre-release-${{ steps.changelog.outputs.version }}
title: "chore(release): ${{ steps.changelog.outputs.version }}"
body: "This PR is generated automatically.\nMerge it with **Rebase and merge** option or with the **Squash and merge** keeping default commit message (CRUCIAL) for the automatic tag creation.\nIf you don't need this PR than close it and **delete source branch**! "
body: "This PR is generated automatically.\nMerge it for the automatic tag creation.\nIf you don't need this PR than close it and **delete source branch**! "

0 comments on commit 0207ce6

Please # to comment.