From 70cd91e8a7e18fbac3c8a98863f5ce93d388b7e0 Mon Sep 17 00:00:00 2001 From: Jongsun Suh <34228073+MajorLift@users.noreply.github.com> Date: Tue, 24 Oct 2023 17:36:37 -0700 Subject: [PATCH] Fix variable name --- 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 580e5769c3a..a527eaa3d01 100755 --- a/scripts/migrate-tags.sh +++ b/scripts/migrate-tags.sh @@ -65,9 +65,9 @@ prepend-tag-name() { while read -r pair; do commit="$(echo "$pair" | cut -d' ' -f1)" - tag="$(echo "$pair" | cut -d' ' -f2)" + tag_name="$(echo "$pair" | cut -d' ' -f2)" if [ "$dry_run" = true ]; then - echo "$commit $tag" + echo "$commit $tag_name" else if ! git tag "$tag_name" "$commit"; then echo "Error creating tag $tag_name for commit $commit" >&2