mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts: fix updatebom.sh
Remove "./cmd/vendor".
This commit is contained in:
parent
81fc7c23c2
commit
74cf4ae9a2
@ -10,19 +10,9 @@ fi
|
||||
echo "installing 'bill-of-materials.json'"
|
||||
go get -v -u github.com/coreos/license-bill-of-materials
|
||||
|
||||
echo "setting up GOPATH"
|
||||
rm -rf ./gopath
|
||||
mkdir ./gopath
|
||||
mv ./cmd/vendor ./gopath/src
|
||||
|
||||
echo "generating bill-of-materials.json"
|
||||
GOPATH=$(pwd)/gopath license-bill-of-materials \
|
||||
license-bill-of-materials \
|
||||
--override-file ./bill-of-materials.override.json \
|
||||
github.com/coreos/etcd github.com/coreos/etcd/etcdctl > bill-of-materials.json
|
||||
|
||||
echo "reverting GOPATH,vendor"
|
||||
mv ./gopath/src ./cmd/vendor
|
||||
rm -rf ./gopath
|
||||
|
||||
echo "generated bill-of-materials.json"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user