mirror of https://github.com/BOINC/boinc.git
release extract
This commit is contained in:
parent
483fd2ec8a
commit
9eaffa930f
|
@ -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|_|-|")
|
||||||
|
|
Loading…
Reference in New Issue