File tree 3 files changed +4
-1
lines changed
3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
7
## [ Unreleased]
8
+ ### Fixed
9
+ - -b option wasn't honored
8
10
9
11
## [ 0.1.0] 2019-02-01
10
12
### Added
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ fn generate_build_script(
82
82
context. insert ( "delete_asset" , & false ) ;
83
83
context. insert ( "asset_id" , & 0 ) ;
84
84
}
85
- let script = match tera. render ( "build.sh" , & context) {
85
+ let script = match tera. render ( opt . build_template . to_str ( ) . unwrap ( ) , & context) {
86
86
Ok ( s) => s,
87
87
Err ( e) => {
88
88
return Err ( Error :: from ( BuildError :: TeraTemplateRenderingErr {
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ if {{ upload }} ; then
52
52
cargo install --path . -f
53
53
tgt_dir=" {{ os_family }}-{{ os_version }}-{{ project }}"
54
54
tarball=" {{ tarball }}"
55
+ mkdir $tgt_dir
55
56
mv $HOME /.cargo/bin/{{ project }} $tgt_dir
56
57
tar zcf ${tarball} $tgt_dir
57
58
if {{ delete_asset }} ; then
You can’t perform that action at this time.
0 commit comments