mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[ts] Fix up player resources copying in build script.
This commit is contained in:
parent
58fe4ed229
commit
17c0cb00c2
@ -16,7 +16,7 @@ ls build/*.js build/*.ts | awk '{print "unexpand -t 4 ", $0, " > /tmp/e; mv /tmp
|
|||||||
if ! [ -z "$TS_UPDATE_URL" ] && ! [ -z "$BRANCH" ];
|
if ! [ -z "$TS_UPDATE_URL" ] && ! [ -z "$BRANCH" ];
|
||||||
then
|
then
|
||||||
echo "Deploying spine-ts $BRANCH artifacts"
|
echo "Deploying spine-ts $BRANCH artifacts"
|
||||||
zip -j spine-ts.zip build/* player/css/spine-player.css player/example/external/*
|
zip -j spine-ts.zip build/* spine-player/css/spine-player.css spine-player/example/external/*
|
||||||
curl -F "file=@spine-ts.zip" "$TS_UPDATE_URL$BRANCH"
|
curl -F "file=@spine-ts.zip" "$TS_UPDATE_URL$BRANCH"
|
||||||
else
|
else
|
||||||
echo "Not deploying artifacts. TS_UPDATE_URL and/or BRANCH not set."
|
echo "Not deploying artifacts. TS_UPDATE_URL and/or BRANCH not set."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user