mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-01-24 07:31:10 +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"
|
REV_NAME="lime-$OS-$TARGET-$GITDATE-$GITREV"
|
||||||
|
|
||||||
# Determine the name of the release being built.
|
# Determine the name of the release being built.
|
||||||
if [[ "$GITHUB_REF_NAME" =~ ^canary- ]] || [[ "$GITHUB_REF_NAME" =~ ^nightly- ]]; then
|
if [[ "$GITHUB_REF_TYPE" == "tag" ]]; then
|
||||||
RELEASE_NAME=$(echo $GITHUB_REF_NAME | cut -d- -f1)
|
RELEASE_NAME=lime-$GITHUB_REF_NAME
|
||||||
else
|
else
|
||||||
RELEASE_NAME=head
|
RELEASE_NAME=lime-head
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Archive and upload the artifacts.
|
# Archive and upload the artifacts.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user