cloud/docker/release: update release script to generate version strings
Reviewed-by: Andrew Gerrand <email@example.com>
diff --git a/cloud/docker/release/makerelease.sh b/cloud/docker/release/makerelease.sh
index 4739357..46c7753 100755
@@ -3,7 +3,7 @@
# This script builds the Upspin commands and pushes them to firstname.lastname@example.org.
# It is executed by the release Docker container.
# The Docker container provides the Upspin repo in the /workspace directory and
-# sets the environment COMMIT_HASH variable to the current Git commit hash of
+# sets the environment variable COMMIT_SHA to the current Git commit hash of
# that repo.
# The Docker container is built atop xgo (https://github.com/karalabe/xgo)
# which is a framework for cross-compiling cgo-enabled binaries. Its magic
@@ -29,6 +29,9 @@
+# Generate the version strings for the commands.
+GOPATH="$EXT_GOPATH" go generate -run make_version upspin.io/version
for cmd in $cmds; do
for GOOS in $oses; do