mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Fix build/mark-stable-release mktemp
This commit is contained in:
parent
dbd7b186a0
commit
35f651382f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user