Skip to content

Commit 5c3149b

Browse files
committed
Use buildvcs=false in release script
Follow up on #20847 and #20950, which tried to fix the issue. However, the release script calls `./build` straight, not the make target nor `scripts/build-binary.sh`. Therefore, this change straight in `scripts/release.sh` addresses the version reported in the released binary. Signed-off-by: Ivan Valdes <ivan@vald.es>
1 parent 9969c12 commit 5c3149b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ main() {
124124
fi
125125

126126
log_callout "Building etcd and checking --version output"
127-
./build
127+
GO_BUILD_FLAGS="-v -buildvcs=false" ./build
128128
local etcd_version
129129
etcd_version=$(bin/etcd --version | grep "etcd Version" | awk '{ print $3 }')
130130
if [[ "${etcd_version}" != "${VERSION}" ]]; then

0 commit comments

Comments
 (0)