mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
WORKFLOW: fixing version extrator - fix3
This commit is contained in:
parent
16c70c8242
commit
8682761c6c
3
.github/workflows/cooker-selfhosted.yml
vendored
3
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -66,8 +66,7 @@ jobs:
|
|||
run: |
|
||||
source automation_tools/version_extractor.sh
|
||||
MANIFEST_VERSION="$(fetch_manifest_version)"
|
||||
echo "$MANIFEST_VERSION"
|
||||
echo "MANIFEST_VERSION=$(fetch_manifest_version)" >> $GITHUB_ENV
|
||||
echo "MANIFEST_VERSION=$MANIFEST_VERSION" >> $GITHUB_ENV
|
||||
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')
|
||||
|
|
Loading…
Reference in a new issue