travis: retrieve btcd version from dep's manifest file
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -11,7 +11,7 @@ install:
|
||||
- GLIDE_DOWNLOAD="https://github.com/Masterminds/glide/releases/download/$GLIDE_TAG/glide-$GLIDE_TAG-linux-amd64.tar.gz"
|
||||
- curl -L $GLIDE_DOWNLOAD | tar -xvz
|
||||
- export PATH=$PATH:$PWD/linux-amd64/
|
||||
- BTCD_VERSION=$(cat glide.yaml | grep -A1 btcd | tail -n1 | awk '{ print $2}')
|
||||
- BTCD_VERSION=$(cat Gopkg.toml | grep -A1 btcd | tail -n1 | awk '{ print $3 }' | tr -d '"')
|
||||
- mkdir -p $GOPATH/src/github.com/roasbeef/
|
||||
- pushd $GOPATH/src/github.com/roasbeef/
|
||||
- git clone https://github.com/roasbeef/btcd
|
||||
|
||||
Reference in new issue
Block a user