Skip to content

Commit

Permalink
🧹 chore(bump): 2.0 => 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanized committed Dec 16, 2024
1 parent 486adb2 commit 21111e8
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
# Author : ESHAN ROY
# Author URI : https://eshanized.github.io

# NOTE : Run at your own risk!

# Define the conventional commit types with new emojis
TYPES=("🚀 feat" "🐛 fix" "📝 docs" "✨ style" "🛠 refactor" "⚡️ perf" "🔬 test" "🔧 build" "🤖 ci" "🧹 chore" "⏪ revert")

# Function to display an error and exit
# Function to display an error and exit and
error_exit() {
echo -e "\033[1;31m[ERROR]\033[0m $1"
exit 1
Expand Down Expand Up @@ -69,13 +67,6 @@ fi
echo -e "\nCommit message:"
echo -e "\033[1;36m$commit_msg\033[0m"

# Confirm before committing
read -p "Do you want to proceed with this commit? (y/n): " confirm
if [[ "$confirm" != "y" && "$confirm" != "Y" ]]; then
echo "Commit aborted."
exit 0
fi

# Stage all changes
git add .

Expand Down

0 comments on commit 21111e8

Please sign in to comment.