mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Make setenv consume OpenRCT2 version from ci.yml
This commit is contained in:
@@ -6,7 +6,7 @@ set -e
|
||||
# It should be dot sourced into your environment
|
||||
if [[ "$GITHUB_ACTIONS" != "true" ]]; then
|
||||
export OPENRCT2_BUILD_SERVER=$(hostname)
|
||||
export OPENRCT2_VERSION=0.4.14
|
||||
export OPENRCT2_VERSION=$(grep 'OPENRCT2_VERSION:' openrct2/.github/workflows/ci.yml | sed 's/.*OPENRCT2_VERSION: *//;s/".*//')
|
||||
GITHUB_REF=$(git rev-parse --symbolic-full-name HEAD)
|
||||
GITHUB_SHA=$(git rev-parse HEAD)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user