mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-04 20:06:27 +02:00
Remove old binary before copying new one to GOPATH/bin (#13966)
This commit is contained in:
parent
81b214230c
commit
3dc8ef76b6
@ -70,6 +70,7 @@ IFS=$OLDIFS
|
||||
DEV_PLATFORM=${DEV_PLATFORM:-"./pkg/$(${GO_CMD} env GOOS)_$(${GO_CMD} env GOARCH)"}
|
||||
for F in $(find ${DEV_PLATFORM} -mindepth 1 -maxdepth 1 -type f); do
|
||||
cp ${F} bin/
|
||||
rm -f ${MAIN_GOPATH}/bin/vault
|
||||
cp ${F} ${MAIN_GOPATH}/bin/
|
||||
done
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user