chore(scripts): fix unbound variable in tag_version.sh (#13428)

This commit is contained in:
Mathias Fredriksson
2024-06-03 21:29:24 +00:00
committed by GitHub
parent 78b8264a90
commit a51076a4cd
+1 -1
View File
@@ -86,8 +86,8 @@ fi
# shellcheck source=scripts/release/check_commit_metadata.sh
source "$SCRIPT_DIR/check_commit_metadata.sh" "$old_version" "$ref"
prev_increment=$increment
if ((COMMIT_METADATA_BREAKING == 1)); then
prev_increment=$increment
if [[ $increment == patch ]]; then
increment=minor
fi