Skip to content

Commit a20047f

Browse files
committed
release: Update toml-echo instructions
1 parent 5cc8433 commit a20047f

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

bitbox-bridge/release/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
##############################

bitbox-bridge/release/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

bitbox-bridge/release/darwin/release.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ CARGO_HOME=/tmp/cargo \
88
TARGET_CC=x86_64-apple-darwin14-clang \
99
cargo 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

bitbox-bridge/release/windows/wix/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Package
22

33
1. 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`
55
3. launch X64 native tools command prompt for VS 20XX
66
4. run package-unsigned.cmd
77

bitbox-bridge/release/windows/wix/package-unsigned.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
)
44
ECHO Packaging version %VERSION%

bitbox-bridge/release/windows/wix/package.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
)
44
ECHO Packaging version %VERSION%

0 commit comments

Comments
 (0)