Skip to content
Prev Previous commit
Fix update changelog script
  • Loading branch information
cryptodev-2s committed Dec 19, 2023
commit 377ddfb566d96243ac80621834d6adec4cff294b
2 changes: 1 addition & 1 deletion scripts/update-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ shift # remove package name from arguments
# Get the current git branch
branch=$(git rev-parse --abbrev-ref HEAD)

if [[ $branch =~ "^release/" ]]; then
if [[ $branch =~ ^release/ ]]; then
yarn auto-changelog update --tag-prefix "${package_name}@" --rc "$@"
else
yarn auto-changelog update --tag-prefix "${package_name}@" "$@"
Expand Down