Skip to content

Commit

Permalink
extract release too
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 committed Apr 18, 2024
1 parent d2cd8f6 commit 542fe00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ jobs:
id: makefile_version
run: |
version=$(grep '^VERSION' Makefile | sed -rn 's/^.*v([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+).*/\1/p')
version=${version}
echo "version=$version" >> $GITHUB_OUTPUT
release=$(grep '^PACKAGE_RELEASE' Makefile | sed -rn 's/^.*v([[:digit:]]+).*/\1/p')
echo "version=$version-$release" >> $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
if: ${{ steps.package-cache.outputs.cache-hit == 'true' }}

Expand Down

0 comments on commit 542fe00

Please sign in to comment.