mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 06:10:47 -05:00
Update client version extraction in build.yaml
This commit is contained in:
parent
cff0c8bfab
commit
685e375527
@ -152,7 +152,7 @@ jobs:
|
|||||||
- name: Extract Client Version
|
- name: Extract Client Version
|
||||||
run: |
|
run: |
|
||||||
cd ./server-core/project/assets/configs
|
cd ./server-core/project/assets/configs
|
||||||
CLIENT_VERSION=$(jq -r '.compatibleTarkovVersion' core.json)
|
CLIENT_VERSION=$(python3 -c "import json; print(json.load(open('core.json'))['compatibleTarkovVersion'].split('.')[-1])")
|
||||||
echo "Client Version: $CLIENT_VERSION"
|
echo "Client Version: $CLIENT_VERSION"
|
||||||
echo "::set-output name=client_version::$CLIENT_VERSION"
|
echo "::set-output name=client_version::$CLIENT_VERSION"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user