mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 02:50:46 -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
|
||||
run: |
|
||||
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 "::set-output name=client_version::$CLIENT_VERSION"
|
||||
shell: bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user