From 178dda7052ae9e24105f40185a40bf456f9968d7 Mon Sep 17 00:00:00 2001 From: Jongsun Suh <34228073+MajorLift@users.noreply.github.com> Date: Tue, 31 Oct 2023 18:25:46 -0700 Subject: [PATCH] Fix function name for consistency Co-authored-by: Elliot Winkler --- scripts/migrate-tags.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/migrate-tags.sh b/scripts/migrate-tags.sh index ada5db5b6ef..f312ae1d217 100755 --- a/scripts/migrate-tags.sh +++ b/scripts/migrate-tags.sh @@ -113,7 +113,7 @@ get-version-commit-pairs() { done <<<"$(get-version-subject-pairs)" } -prepend-tag-name() { +get-commit-tagname-pairs() { local tag_name while IFS=$'\t' read -r version commit; do if semverLT "$version" "$version_before_package_rename" || semverEQ "$version" "$version_before_package_rename"; then @@ -137,4 +137,4 @@ while IFS=$'\t' read -r commit tag_name; do git tag "$tag_name" "$commit" git push "$remote" "$tag_name" fi -done <<<"$(prepend-tag-name)" +done <<<"$(get-commit-tagname-pairs)"