Skip to content

Commit

Permalink
make validate tag step more verbose
Browse files Browse the repository at this point in the history
this step is part of the deploy-workflow.
It now echos the releasetag that is used in the if-statement
  • Loading branch information
Cube707 committed Mar 15, 2023
1 parent b44a91c commit 47c3d8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
pip install setuptools wheel twine
- name: get infos from Tag
run: |
if [[ $RELEASE_TAG =~ (([0-9]+)\.([0-9]+)\.([0-9]+))([-./]dev([0-9]+))? ]]
echo "RELEASE_TAG=${RELEASE_TAG}"
if [[ $RELEASE_TAG =~ (([0-9]+)\.([0-9]+)\.([0-9]+))([-./]dev([0-9]+))?$ ]]
then
echo "VERSION=${BASH_REMATCH[0]}" | tee $GITHUB_ENV
echo "VERSION_MAJOR=${BASH_REMATCH[2]}" | tee $GITHUB_ENV
Expand Down

0 comments on commit 47c3d8f

Please sign in to comment.