Allow specifying branch for plugin module updating via $API_BRANCH

This commit is contained in:
Jeff Mitchell
2019-07-25 12:38:47 -04:00
parent 3551835d6c
commit 814f7709b4

View File

@@ -20,7 +20,7 @@ do
git clone https://github.com/hashicorp/$plugin
cd $plugin
rm -rf vendor
go get github.com/hashicorp/vault/api@master
go get github.com/hashicorp/vault/api${API_BRANCH}
go mod tidy
go mod vendor
git add .