Skip to content

Commit

Permalink
Try the previous method with the version being in its own variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaymar committed Feb 29, 2024
1 parent c28b5a9 commit 7668d18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ jobs:
- name: Generate Release Name, Tag, and Notes
id: release_info
run: |
echo "tag=$(LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 grep -hoPe "[0-9]+\.[0-9]+\.[0-9]+([abc][0-9]+|)" "${{ github.workspace }}/build/generated/version.h")" >> $GITHUB_OUTPUT
VERSION=$(LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 grep -hoPe "[0-9]+\.[0-9]+\.[0-9]+([abc][0-9]+|)" "${{ github.workspace }}/build/generated/version.h")
echo "tag=${VERSION}" >> $GITHUB_OUTPUT
dateName=$(date +'%Y-%m-%d %H:%M:%S')
echo "name=Hellextractor v${tag}" >> $GITHUB_OUTPUT
echo "name=Hellextractor v${VERSION}" >> $GITHUB_OUTPUT
commitMessages=$(git log -25 --pretty=format:"%h - %s <br />" | paste -sd ' ' -)
echo "commitMessages=$commitMessages" # for debugging
Expand Down

0 comments on commit 7668d18

Please sign in to comment.