Skip to content

Commit 79d5ffa

Browse files
author
Adam Simpson
committed
chore: fix travis again
1 parent 32657f7 commit 79d5ffa

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ script:
2626
- ./build.sh
2727

2828
before_deploy:
29-
- mv ./target/release/oscar "oscar-$TARGET."
29+
- mv ./target/"${TARGET}"/release/oscar "oscar-${TARGET}."
3030

3131
deploy:
3232
token:
@@ -36,7 +36,7 @@ deploy:
3636
on:
3737
tags: true
3838
provider: releases
39-
skip_cleanup: true
39+
cleanup: false
4040

4141
branches:
4242
only:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oscar"
3-
version = "0.1.10"
3+
version = "0.1.11"
44
authors = ["Adam Simpson <adam@heysparkbox.com>"]
55
edition = "2018"
66
description = "A CLI application to download videos from PBS. Ideally run in cron or another scheduler."

build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/sh
22

3-
rustup target add "$TARGET"
3+
rustup target add "${TARGET}"
44

55
# Download the Raspberry Pi cross-compilation toolchain if needed
6-
if [ "$TARGET" = "arm-unknown-linux-gnueabihf" ]
6+
if [ "${TARGET}" = "arm-unknown-linux-gnueabihf" ]
77
then
88
git clone --depth=1 https://github.com/raspberrypi/tools.git /tmp/tools;
9-
export PATH=/tmp/tools/arm-bcm2708/arm-linux-gnueabihf/bin:$PATH;
9+
export PATH=/tmp/tools/arm-bcm2708/arm-linux-gnueabihf/bin:${PATH};
1010
export CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc
1111
fi
1212

13-
cargo build --target="$TARGET" --release
13+
cargo build --target="${TARGET}" --release

0 commit comments

Comments
 (0)