Skip to content

Commit

Permalink
feat: 4
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanDimanov-MoveDigital authored Dec 30, 2021
1 parent 5d430eb commit 98672ab
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/get_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ jobs:
- name: Get release version
id: releaseVersion
run: |
export HEAD_REF=${{ github.head_ref }}
echo ::set-output name=tagName::${HEAD_REF#release-}
export COMMIT_MESSAGE=${{ github.event.head_commit.message }}
echo ::set-output name=tagName::${COMMIT_MESSAGE | grep -oP "release \K\d+\.\d+\.\d+"}
- run: "echo '${{ steps.releaseVersion.outputs.tagName }}'"

- run: "echo '${{ toJSON(github) }}'"

0 comments on commit 98672ab

Please sign in to comment.