Rename release binaries

This commit is contained in:
timvisee 2018-05-31 17:47:43 +02:00
parent 5cee9866f2
commit 808ea078dd
No known key found for this signature in database
GPG key ID: 109CBA0BF74036C2

View file

@ -86,12 +86,12 @@ jobs:
cross build --target $TARGET --release --verbose --all cross build --target $TARGET --release --verbose --all
cp target/$TARGET/release/ffsend ./ffsend cp target/$TARGET/release/ffsend ./ffsend
fi fi
- tar -czvf ./ffsend-$TARGET_SIMPLE-$TRAVIS_TAG.tar.gz ffsend - tar -czvf ./ffsend-$TRAVIS_TAG-$TARGET_SIMPLE.tar.gz ffsend
- | - |
if [ -n "$DEB_ARCH" ]; then if [ -n "$DEB_ARCH" ]; then
./pkg/create_deb ./pkg/create_deb
fi fi
- mv ./ffsend ./ffsend-$TARGET_SIMPLE-$TRAVIS_TAG - mv ./ffsend ./ffsend-$TRAVIS_TAG-$TARGET_SIMPLE
deploy: &deploy-github-release deploy: &deploy-github-release
provider: releases provider: releases
api_key: $GITHUB_OAUTH_TOKEN api_key: $GITHUB_OAUTH_TOKEN
@ -100,14 +100,14 @@ jobs:
file_glob: true file_glob: true
file: file:
- ffsend_*.deb - ffsend_*.deb
- ffsend-$TARGET_SIMPLE-$TRAVIS_TAG.tar.gz - ffsend-$TRAVIS_TAG-$TARGET_SIMPLE.tar.gz
- ffsend-$TARGET_SIMPLE-$TRAVIS_TAG - ffsend-$TRAVIS_TAG-$TARGET_SIMPLE
on: on:
tags: true tags: true
branch: master branch: master
- stage: release - stage: release
rust: stable rust: stable
env: TARGET=i686-unknown-linux-gnu TARGET_SIMPLE=linux-i686 DEB_ARCH=i386 env: TARGET=i686-unknown-linux-gnu TARGET_SIMPLE=linux-i386 DEB_ARCH=i386
cache: cargo cache: cargo
install: &install-github-release-cross install: &install-github-release-cross
- cargo install cross - cargo install cross