mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-10 20:25:06 +01:00
Fixed release archives naming the contained folder "head" instead of the release name
This commit is contained in:
parent
2ae1480edf
commit
2c0ffe163f
@ -6,10 +6,10 @@ GITREV="`git show -s --format='%h'`"
|
||||
REV_NAME="lime-$OS-$TARGET-$GITDATE-$GITREV"
|
||||
|
||||
# Determine the name of the release being built.
|
||||
if [[ "$GITHUB_REF_NAME" =~ ^canary- ]] || [[ "$GITHUB_REF_NAME" =~ ^nightly- ]]; then
|
||||
RELEASE_NAME=$(echo $GITHUB_REF_NAME | cut -d- -f1)
|
||||
if [[ "$GITHUB_REF_TYPE" == "tag" ]]; then
|
||||
RELEASE_NAME=lime-$GITHUB_REF_NAME
|
||||
else
|
||||
RELEASE_NAME=head
|
||||
RELEASE_NAME=lime-head
|
||||
fi
|
||||
|
||||
# Archive and upload the artifacts.
|
||||
|
Loading…
Reference in New Issue
Block a user