Fix build/mark-stable-release mktemp

This commit is contained in:
Zach Loafman 2015-04-05 11:38:22 -07:00
parent dbd7b186a0
commit 35f651382f

View File

@ -16,6 +16,10 @@
# Marks the current stable version
set -o errexit
set -o nounset
set -o pipefail
if [[ -z "$1" ]]; then
echo "Usage: $0 <version>"
exit 1
@ -28,7 +32,7 @@ fi
STABLE_FILE_LOCATION="kubernetes-release/release/stable.txt"
version_file=$(mktemp -t stable)
version_file=$(mktemp -t stable.XXXXXX)
echo $1 >> ${version_file}
echo "Uploading stable version $1 to google storage"