fix release script
This commit is contained in:
parent
4b57b82301
commit
579b10b53d
1 changed files with 0 additions and 10 deletions
|
|
@ -187,16 +187,6 @@ fi
|
|||
print_info "Changes to be committed:"
|
||||
git diff
|
||||
|
||||
# Confirm changes
|
||||
echo
|
||||
read -p "Do you want to commit these changes and create tag v$VERSION? (y/n) " -n 1 -r
|
||||
echo
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
print_error "Release cancelled. Rolling back changes..."
|
||||
git checkout .
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Commit changes
|
||||
print_info "Committing version changes..."
|
||||
git add -A
|
||||
|
|
|
|||
Loading…
Reference in a new issue