0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-12 22:30:45 -05:00

Update client version extraction in build.yaml

This commit is contained in:
Refringe 2024-03-03 14:02:57 -05:00
parent cff0c8bfab
commit 685e375527
No known key found for this signature in database
GPG Key ID: 64E03E5F892C6F9E

View File

@ -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