Skip to content

Commit a58c9fb

Browse files
committed
Fix release script
1 parent 828978c commit a58c9fb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ script:
4040
deploy:
4141
provider: releases
4242
api_key: $GITHUB_TOKEN
43-
file: ${RELEASED_PACKAGE_FILENAME}
43+
file_glob: true
44+
file: release/teleport-scala*
4445
skip_cleanup: true
4546
on:
4647
tags: true

ci/script.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ fi
1919
# smoke-test uses teleport-scala built above
2020
./smoke-test.sh
2121

22+
mkdir release
2223

2324
if [ $TRAVIS_OS_NAME = windows ]; then
24-
export RELEASED_PACKAGE_FILENAME="teleport-scala.exe"
25+
mv teleport-scala.exe release
2526
else
26-
export RELEASED_PACKAGE_FILENAME="teleport-scala-$TRAVIS_OS_NAME"
27+
mv teleport-scala "release/teleport-scala-$TRAVIS_OS_NAME"
2728
fi

0 commit comments

Comments
 (0)