release extract

This commit is contained in:
Vittorio Parrella 2023-06-13 00:20:00 +02:00
parent 483fd2ec8a
commit 9eaffa930f
No known key found for this signature in database
GPG Key ID: 78598F812AE11022
1 changed files with 5 additions and 5 deletions

View File

@ -70,11 +70,11 @@ jobs:
{ {
echo "===== Step Preparation =====" echo "===== Step Preparation ====="
cat version.h | grep BOINC_VERSION_STRING PKG_VERSION=$(cat version.h | grep BOINC_VERSION_STRING | sed -e 's|#define BOINC_VERSION_STRING||' | jq -r .)
if [[ "${PKG_VERSOPM}" -eq "" ]]; then
cat version.h | grep BOINC_VERSION_STRING | sed -e 's|#define BOINC_VERSION_STRING|' printf "Could not obtain release package version from version.h"
exit 1
PKG_VERSION=$(cat version.h | grep BOINC_VERSION_STRING | sed -e 's|#define BOINC_VERSION_STRING|' | jq -r .) fi
# Setup Environment vars # Setup Environment vars
PKG_NAME=$(echo "${{ env.PKG_PREFIX }}-${{ matrix.package-type }}" | sed "s|_|-|") PKG_NAME=$(echo "${{ env.PKG_PREFIX }}-${{ matrix.package-type }}" | sed "s|_|-|")