Skip to content

Commit

Permalink
Wrap tags generated on custom branches in underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Jun 26, 2024
1 parent 4e3c5e9 commit 8aad833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/actions/generate_next_git_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ get_tag_suffix() {
fi

# Replace non-alphanumeric characters with underscores
local new_tag_suffix=${branch_name//[^a-zA-Z0-9]/_}
local new_tag_suffix="_${branch_name//[^a-zA-Z0-9]/_}_" # wrap with underscores for readability

# Specific rules for certain branch names
if [[ "$branch_name" == "develop" ]]; then
Expand Down

0 comments on commit 8aad833

Please sign in to comment.