Skip to content

Commit a15e402

Browse files
danehansBenjaminBraunDev
authored andcommitted
Adds PATCH Variable to Release Script (kubernetes-sigs#1723)
Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
1 parent 3150709 commit a15e402

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hack/release-quickstart.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ set -euo pipefail
1818
# -----------------------------------------------------------------------------
1919
# Environment variables (defaults)
2020
# -----------------------------------------------------------------------------
21-
# MAJOR and MINOR are required (defaults provided here if not already set)
21+
# MAJOR, MINOR, and PATCH are required (defaults provided here if not already set)
2222
MAJOR="${MAJOR:-0}"
2323
MINOR="${MINOR:-1}"
24+
PATCH="${PATCH:-0}"
2425

2526
# If RC is defined (non-empty) then include the rc suffix; otherwise omit it.
2627
if [[ -z "${RC-}" ]]; then
27-
RELEASE_TAG="v${MAJOR}.${MINOR}.0"
28+
RELEASE_TAG="v${MAJOR}.${MINOR}.${PATCH}"
2829
else
2930
RELEASE_TAG="v${MAJOR}.${MINOR}.0-rc.${RC}"
3031
fi

0 commit comments

Comments
 (0)