File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ script:
2626 - ./build.sh
2727
2828before_deploy :
29- - mv ./target/release/oscar "oscar-$TARGET."
29+ - mv ./target/"${TARGET}"/ release/oscar "oscar-${ TARGET} ."
3030
3131deploy :
3232 token :
@@ -36,7 +36,7 @@ deploy:
3636 on :
3737 tags : true
3838 provider : releases
39- skip_cleanup : true
39+ cleanup : false
4040
4141branches :
4242 only :
Original file line number Diff line number Diff line change 11[package ]
22name = " oscar"
3- version = " 0.1.10 "
3+ version = " 0.1.11 "
44authors = [" Adam Simpson <adam@heysparkbox.com>" ]
55edition = " 2018"
66description = " A CLI application to download videos from PBS. Ideally run in cron or another scheduler."
Original file line number Diff line number Diff line change 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" ]
77then
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
1111fi
1212
13- cargo build --target=" $TARGET " --release
13+ cargo build --target=" ${ TARGET} " --release
You can’t perform that action at this time.
0 commit comments