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'`"
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue