Merge branch 'cooker' into feat/shadps4

This commit is contained in:
XargonWan 2024-08-23 23:20:18 +09:00
commit 6b0a4d0593

View file

@ -85,10 +85,10 @@ jobs:
source_branch=$(curl -s "https://api.github.com/repos/RetroDECK/RetroDECK/pulls/$pr_number" | jq -r '.head.ref')
source_branch=${source_branch//\//-} # Replace '/' with '-' in the branch name
echo "[DEBUG] source branch is: $source_branch"
echo "TAG=PR-$pr_number-$source_branch-${{ env.buildid }}" >> $GITHUB_ENV
echo "TAG=PR-$pr_number-$(echo $source_branch-${{ env.buildid }} | sed 's/\//-/g')" >> $GITHUB_ENV
echo "MAKE_LATEST=false" >> $GITHUB_ENV # if it's a feature branch it will not marked as "latest" cooker version
else
TAG="$MANIFEST_VERSION-${{ env.buildid }}"
TAG="$MANIFEST_VERSION-${{ env.buildid }} | sed 's/\//-/g'"
echo "TAG=$TAG" >> $GITHUB_ENV
echo "MAKE_LATEST=true" >> $GITHUB_ENV
fi