mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-17 13:37:26 +03:00
ci: set SERVER_TEST_MODE in get-version.sh if not set
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8196 GitOrigin-RevId: 9df9424e1c9ed34151be4805e1f51dbec1266dc0
This commit is contained in:
parent
3ff4d1f015
commit
26febe9155
@ -21,6 +21,7 @@ set -o pipefail
|
||||
# returned by this script, to fail. SERVER_TEST_MODE env var is used to
|
||||
# force the version to be set to the value in /build/_server_output/version.txt.
|
||||
# This is done only for test_oss_server_pg_* CI jobs in server test mode.
|
||||
SERVER_TEST_MODE=${SERVER_TEST_MODE:-false}
|
||||
if [[ "$SERVER_TEST_MODE" == "true" ]]; then
|
||||
VERSION="$(cat /build/_server_output/version.txt)"
|
||||
echo "$VERSION"
|
||||
|
Loading…
Reference in New Issue
Block a user