Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Oct 25, 2023
1 parent 375fe94 commit 70cd91e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/migrate-tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70cd91e

Please sign in to comment.