fix: arch package version (#1628)

This commit is contained in:
ReenigneArcher 2023-09-12 14:07:47 -04:00 committed by GitHub
parent 6d19134581
commit 515fafef2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -71,6 +71,8 @@ cmake \
-DSUNSHINE_CONFIGURE_PKGBUILD=ON \
-DSUNSHINE_SUB_VERSION="${sub_version}" \
-DGITHUB_CLONE_URL="${CLONE_URL}" \
-DGITHUB_BRANCH=${BRANCH} \
-DGITHUB_BUILD_VERSION=${BUILD_VERSION} \
-DGITHUB_COMMIT="${COMMIT}" \
-DSUNSHINE_CONFIGURE_ONLY=ON \
/build/sunshine

View File

@ -51,6 +51,10 @@ build() {
npm install
popd
export BRANCH=@GITHUB_BRANCH@
export BUILD_VERSION=@GITHUB_BUILD_VERSION@
export COMMIT=@GITHUB_COMMIT@
export CFLAGS="${CFLAGS/-Werror=format-security/}"
export CXXFLAGS="${CXXFLAGS/-Werror=format-security/}"