Skip to content

Commit

Permalink
Test versioning trentbrooks#4
Browse files Browse the repository at this point in the history
  • Loading branch information
donarturo11 committed Mar 2, 2023
1 parent fab6e07 commit 218dffb
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 @@ -138,10 +138,10 @@ jobs:
run: |
cd $BUILD_DIR
export PKG_VER="$(git log -1 --pretty=%h)"
if [ -z $PKG_VER ]; then
if [ ! -z "$PKG_VER" ]; then
echo VER_CFLAG="-D _VER=${PKG_VER}" >> $GITHUB_ENV
fi
echo "::notice:: ${PKGVER}"
echo "::notice:: ${PKG_VER}"
echo "::notice:: ${VER_CFLAG}"
- name: Build (UNIX/Msys)
Expand Down

0 comments on commit 218dffb

Please sign in to comment.