From b4699d9d47fa249e1018152a9fd31660fb1c2616 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Sat, 26 Apr 2025 16:46:10 +0100 Subject: [PATCH] ci: For source artifacts from tagged builds, use the name of the tag in the filename Closes #779 --- .ci/source.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/source.sh b/.ci/source.sh index 6298d408c..338ccf4c8 100755 --- a/.ci/source.sh +++ b/.ci/source.sh @@ -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