Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Commit 48b1893

Browse files
committed
host gzipped executables in github releases
1 parent 99f9793 commit 48b1893

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ before_deploy:
3131
deploy:
3232
provider: releases
3333
api_key: $GITHUB_TOKEN
34-
file_glob: true
35-
file: android_localization-$TRAVIS_TAG-$TARGET*
34+
file: android_localization-$TRAVIS_TAG-$TARGET.tar.gz
3635
skip_cleanup: true
3736
draft: true
3837
overwrite: false

ci/before_deploy.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
set -ex
22

3+
# Build the required executable
34
cargo build --all --release --target $TARGET --verbose
4-
cp target/$TARGET/release/android_localization_cli android_localization-$TRAVIS_TAG-$TARGET
5+
6+
# Give a more manageable name for the executable
7+
cp target/$TARGET/release/android_localization_cli android_localization
8+
9+
# Zip up the executable with name that resembles android_localization-0.1.4-x86_64-unknown-linux-gnu
10+
tar czf android_localization-$TRAVIS_TAG-$TARGET.tar.gz android_localization

0 commit comments

Comments
 (0)