Skip to content

Commit cb538ed

Browse files
committed
chore(scripts): fix unbound variable in tag_version.sh
1 parent b248f12 commit cb538ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/tag_version.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ fi
8686
# shellcheck source=scripts/release/check_commit_metadata.sh
8787
source "$SCRIPT_DIR/check_commit_metadata.sh" "$old_version" "$ref"
8888

89+
prev_increment=$increment
8990
if ((COMMIT_METADATA_BREAKING == 1)); then
90-
prev_increment=$increment
9191
if [[ $increment == patch ]]; then
9292
increment=minor
9393
fi

0 commit comments

Comments
 (0)