ci: For source artifacts from tagged builds, use the name of the tag in the filename

Closes #779
This commit is contained in:
OpenSauce04 2025-04-26 16:46:10 +01:00
parent a53ce91852
commit b4699d9d47

View File

@ -4,6 +4,10 @@ GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
GITREV="`git show -s --format='%h'`"
REV_NAME="azahar-unified-source-${GITDATE}-${GITREV}"
if [ "$GITHUB_REF_TYPE" = "tag" ]; then
REV_NAME="azahar-unified-source-$GITHUB_REF_NAME"
fi
COMPAT_LIST='dist/compatibility_list/compatibility_list.json'
mkdir artifacts