mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
ci: For source artifacts from tagged builds, use the name of the tag in the filename
Closes #779
This commit is contained in:
parent
a53ce91852
commit
b4699d9d47
1 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,10 @@ GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
|
||||||
GITREV="`git show -s --format='%h'`"
|
GITREV="`git show -s --format='%h'`"
|
||||||
REV_NAME="azahar-unified-source-${GITDATE}-${GITREV}"
|
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'
|
COMPAT_LIST='dist/compatibility_list/compatibility_list.json'
|
||||||
|
|
||||||
mkdir artifacts
|
mkdir artifacts
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue