diff --git a/bacillus/ci_pushbuild.sh b/bacillus/ci_pushbuild.sh index b94f39e..b6092c2 100755 --- a/bacillus/ci_pushbuild.sh +++ b/bacillus/ci_pushbuild.sh @@ -28,11 +28,13 @@ ls ############ stage "Build" ############ +echo "Removing any vendor/ dir if present ..." +rm -rf vendor echo "Recreating go.mod from scratch ..." -#!mv go.mod go.mod.git || true -#!mv go.sum go.sum.git || true -#!go mod init -#!go mod tidy +mv go.mod go.mod.git || true +mv go.sum go.sum.git || true +go mod init +go mod tidy echo "Cleaning go mod cache ..." go clean -modcache