Skip to content

Commit a51076a

Browse files
authored
chore(scripts): fix unbound variable in tag_version.sh (#13428)
1 parent 78b8264 commit a51076a

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy