WORKFLOW: integrating new versioning flow with tags and single cooker branch - fix

This commit is contained in:
XargonWan 2024-07-18 09:18:50 +09:00
parent cdbb410de4
commit ef5ff4a8a4

View file

@ -65,7 +65,7 @@ jobs:
- name: "Generate version tag"
run: |
source automation_tools/version_extractor.sh
manifest_version=$(fetch_manifest_version)
manifest_version=${$fetch_manifest_version}
if [[ "$BRANCH_NAME" == 'refs/'* ]]; then
pr_number=$(echo ${{env.BRANCH_NAME}} | awk -F'/' '{print $3}')
source_branch=$(curl -s "https://api.github.com/repos/XargonWan/RetroDECK/pulls/$pr_number" | jq -r '.head.ref')