Skip to content

Commit

Permalink
Update create_tag.sh to use progress bar for pushing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
cr2007 committed May 14, 2024
1 parent ac20cfd commit 4669841
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion create_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ else
fi

# Push the tag to the remote repository
git push origin "$tag_name" | gum spin --spinner points --title "Pushing the tag..." --spinner.foreground="#34A853" --sleep 5
# git push origin "$tag_name" | gum spin --spinner points --title "Pushing the tag..." --spinner.foreground="#34A853"
git push origin "$tag_name" --progress | pv -l -s 3 -N "Pushing the tag..." > /dev/null
# git push origin v0.2.16 --progress 2>&1 | pv -l -s 10 -N "Pushing the tag..." > /dev/null

# Print a success message
echo -e "\e[32mTag '$tag_name' created and pushed successfully.\e[0m"

0 comments on commit 4669841

Please sign in to comment.