branch name fixed.
This commit is contained in:
2
.github/workflows/build-nightly-cron.yaml
vendored
2
.github/workflows/build-nightly-cron.yaml
vendored
@@ -35,7 +35,7 @@ jobs:
|
||||
- name: Get Latest Commit From SPT
|
||||
id: get-latest-commit
|
||||
run: |
|
||||
branch_name=$(git ls-remote --heads https://github.com/sp-tarkov/server.git | grep -o 'refs/heads/3.11.0-dev' | sed 's|refs/heads/||' | head -n 1)
|
||||
branch_name=$(git ls-remote --heads https://github.com/sp-tarkov/server.git | grep -o 'refs/heads/3.11.x-dev' | sed 's|refs/heads/||' | head -n 1)
|
||||
SPT_SERVER_LATEST_COMMIT_HASH=$(git ls-remote ${{ env.SERVER_URL }}/${{ env.REPOSITORY_SPT_SERVER }}.git refs/heads/$branch_name | awk '{print $1}')
|
||||
SPT_SERVER_LATEST_COMMIT_HASH=${SPT_SERVER_LATEST_COMMIT_HASH:0:8}
|
||||
echo "👽 NIGHTLY_BRANCH_SPT = $branch_name"
|
||||
|
||||
Reference in New Issue
Block a user