File tree Expand file tree Collapse file tree 6 files changed +5
-7
lines changed
Expand file tree Collapse file tree 6 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ RUN rustup target add x86_64-apple-darwin
7979
8080# #############################
8181# toml-echo is a tool for echoing toml variables (like the package.version)
82- RUN CARGO_HOME=/opt/cargo cargo install toml-echo
82+ RUN CARGO_HOME=/opt/cargo cargo install --version 0.3.0 toml-echo
8383
8484
8585# #############################
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ Packages (deb/rpm/tar.gz2) will be created without further work.
1515* Run ` package.cmd `
1616
1717## OSX
18+ * Install "toml-echo", ` cargo install --version 0.3.0 toml-echo ` .
1819* Copy the whole project to an OSX machine
1920* Run ` bitbox-bridge/release/darwin/package.sh `
2021
Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ CARGO_HOME=/tmp/cargo \
88TARGET_CC=x86_64-apple-darwin14-clang \
99cargo build --target x86_64-apple-darwin --release
1010
11- NAME=BitBoxBridge
12- VERSION=$( toml-echo bitbox-bridge/Cargo.toml package.version)
13-
1411(
1512 cd bitbox-bridge/release/darwin
1613 mkdir -p tmp/opt/shiftcrypto/bitbox-bridge/bin
Original file line number Diff line number Diff line change 11# Package
22
331 . install wix toolset and visual studio
4- 2 . install toml-echo: ` cargo install toml-echo `
4+ 2 . install toml-echo: ` cargo install --version 0.3.0 toml-echo `
553 . launch X64 native tools command prompt for VS 20XX
664 . run package-unsigned.cmd
77
Original file line number Diff line number Diff line change 1- FOR /F " tokens=* USEBACKQ" %%F IN (`toml-echo ..\..\..\ Cargo.toml package.version`) DO (
1+ FOR /F " tokens=* USEBACKQ" %%F IN (`toml-echo Cargo.toml package.version`) DO (
22 SET VERSION = %%F
33)
44ECHO Packaging version %VERSION%
Original file line number Diff line number Diff line change 1- FOR /F " tokens=* USEBACKQ" %%F IN (`toml-echo ..\..\..\ Cargo.toml package.version`) DO (
1+ FOR /F " tokens=* USEBACKQ" %%F IN (`toml-echo Cargo.toml package.version`) DO (
22 SET VERSION = %%F
33)
44ECHO Packaging version %VERSION%
You can’t perform that action at this time.
0 commit comments