Skip to content

Commit ba0bf43

Browse files
mafredristirby
authored andcommitted
chore(scripts): fix unbound variable in tag_version.sh (coder#13428)
(cherry picked from commit a51076a)
1 parent 40af620 commit ba0bf43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/tag_version.sh

Lines changed: 1 addition & 1 deletion
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)