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

This commit is contained in:
XargonWan 2024-07-18 09:21:31 +09:00
parent ef5ff4a8a4
commit 3adc2feba8

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')