Skip to content

Commit

Permalink
Automatization versioning trentbrooks#7 finish2
Browse files Browse the repository at this point in the history
  • Loading branch information
donarturo11 committed Mar 2, 2023
1 parent f744357 commit 70ff426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ jobs:
- name: Prepare version (release)
if: startsWith(github.ref, 'refs/tags/v')
run: |
echo "::notice:: PKG_VER=${{ github.ref }}"
echo "::notice:: ${{ github.ref_name }}"
- name: Prepare version (snapshot)
if: (! startsWith(github.ref, 'refs/tags/v'))
run: |
echo "::notice:: ${{ github.ref }}"
echo "::notice:: ${{ github.ref_name }}"
echo PKG_VER=$(git rev-parse --short HEAD) >> $GITHUB_ENV
- name: Build (UNIX/Msys)
Expand Down

0 comments on commit 70ff426

Please sign in to comment.