File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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)
2222MAJOR=" ${MAJOR:- 0} "
2323MINOR=" ${MINOR:- 1} "
24+ PATCH=" ${PATCH:- 0} "
2425
2526# If RC is defined (non-empty) then include the rc suffix; otherwise omit it.
2627if [[ -z " ${RC-} " ]]; then
27- RELEASE_TAG=" v${MAJOR} .${MINOR} .0 "
28+ RELEASE_TAG=" v${MAJOR} .${MINOR} .${PATCH} "
2829else
2930 RELEASE_TAG=" v${MAJOR} .${MINOR} .0-rc.${RC} "
3031fi
You can’t perform that action at this time.
0 commit comments