mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +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
|
# Marks the current stable version
|
||||||
|
|
||||||
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
if [[ -z "$1" ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
echo "Usage: $0 <version>"
|
echo "Usage: $0 <version>"
|
||||||
exit 1
|
exit 1
|
||||||
@ -28,7 +32,7 @@ fi
|
|||||||
|
|
||||||
STABLE_FILE_LOCATION="kubernetes-release/release/stable.txt"
|
STABLE_FILE_LOCATION="kubernetes-release/release/stable.txt"
|
||||||
|
|
||||||
version_file=$(mktemp -t stable)
|
version_file=$(mktemp -t stable.XXXXXX)
|
||||||
|
|
||||||
echo $1 >> ${version_file}
|
echo $1 >> ${version_file}
|
||||||
echo "Uploading stable version $1 to google storage"
|
echo "Uploading stable version $1 to google storage"
|
||||||
|
Loading…
Reference in New Issue
Block a user