Browse Source

start.sh: use joystream node tag of local repo by default

Mokhtar Naamani 3 years ago
parent
commit
144634bb9c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      start.sh

+ 2 - 1
start.sh

@@ -22,7 +22,8 @@ else
 fi
 
 ## Run a local development chain
-docker-compose up -d joystream-node
+JOYSTREAM_NODE_TAG=${JOYSTREAM_NODE_TAG:=$(scripts/runtime-code-shasum.sh)} \
+  docker-compose up -d joystream-node
 
 ## Init the chain with some state
 export SKIP_MOCK_CONTENT=true