mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-06 20:11:08 +00:00
Update scripts/protocgen.sh
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
@@ -10,7 +10,9 @@ fi
|
||||
echo "fetching proto files"
|
||||
|
||||
# Get shortened ref of commit
|
||||
REF=`curl -H "Accept: application/vnd.github.v3.sha" -qL "https://api.github.com/repos/tendermint/spec/commits/${VERS}" | cut -c -7`
|
||||
REF=$(curl -H "Accept: application/vnd.github.v3.sha" -qL \
|
||||
"https://api.github.com/repos/tendermint/spec/commits/${VERS}" \
|
||||
| cut -c -7)
|
||||
# Edit this line to clone your branch, if you are modifying protobuf files
|
||||
curl -qL "https://api.github.com/repos/tendermint/spec/${URL_PATH}${REF}" | tar -xzf - tendermint-spec-"$REF"/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user