Skip to content

Commit

Permalink
version number correction
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatist-ban committed Feb 27, 2024
1 parent a78efb0 commit 8495e67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/template-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ jobs:
- name: Set variables From git tag command
#if: ${{ hashFiles('VERSION-TAG.env') == '' }}
if: ${{ ( env.PUBLISH_ARTIFACT == 'true' ) || ( env.COMMIT_PUSH == 'true' ) }}
run: echo "RELEASE_VERSION=$(git tag | sort --version-sort | tail -n1)" >> $GITHUB_ENV
run: |
echo "$VER"
echo "RELEASE_VERSION=$(git tag | sort --version-sort | tail -n1 | tr -d 'v')" >> $GITHUB_ENV
- name: Install Mix dependencies
if: ${{ ( env.PUBLISH_ARTIFACT == 'true' ) }}
Expand Down

0 comments on commit 8495e67

Please sign in to comment.