Browse Source

fix build instructions for current testnet

Mokhtar Naamani 5 years ago
parent
commit
5766723a7a
4 changed files with 6 additions and 9 deletions
  1. 1 0
      .dockerignore
  2. 2 2
      Cargo.lock
  3. 1 5
      Dockerfile
  4. 2 2
      README.md

+ 1 - 0
.dockerignore

@@ -0,0 +1 @@
+target/

+ 2 - 2
Cargo.lock

@@ -1080,7 +1080,7 @@ dependencies = [
  "exit-future 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
  "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)",
  "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "joystream-node-runtime 5.1.0",
+ "joystream-node-runtime 5.3.0",
  "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
  "parity-codec 3.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1104,7 +1104,7 @@ dependencies = [
 
 [[package]]
 name = "joystream-node-runtime"
-version = "5.1.0"
+version = "5.3.0"
 dependencies = [
  "parity-codec 3.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "parity-codec-derive 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)",

+ 1 - 5
Dockerfile

@@ -7,11 +7,7 @@ ENV TERM=xterm
 
 RUN apt-get update && apt-get install git clang -y \
     && ./init-wasm.sh \
-    && git clone https://github.com/Joystream/substrate-runtime-joystream.git \
-    && cd substrate-runtime-joystream \
-    && git fetch --tags \
-    && git checkout v5.3.0 \
-    && cd ../ \
+    && git clone -b v5.3.0 https://github.com/Joystream/substrate-runtime-joystream.git \
     && ./build-runtime.sh \
     && cargo build --release \
     && cargo install --path ./ \

+ 2 - 2
README.md

@@ -27,10 +27,10 @@ cd substrate-node-joystream/
 ```
 
 ### Building
-Clone the joystream runtime into the substrate-node-joystream directory:
+Clone the joystream runtime into the substrate-node-joystream directory, release version v5.3.0:
 
 ```bash
-git clone https://github.com/Joystream/substrate-runtime-joystream.git
+git clone -b v5.3.0 https://github.com/Joystream/substrate-runtime-joystream.git
 ```
 
 Build the WASM runtime library: