Push on upgrade

master
Jacopo De Simoi 2 years ago
parent c13fde9f0a
commit eb20a46081
  1. 3
      tools/upgrade.sh

@ -252,6 +252,9 @@ if LANG= git pull --quiet --rebase $remote $branch; then
# Save the commit prior to updating
git config oh-my-zsh.lastVersion "$last_commit"
# Push to fork
git push --force origin $branch
# Print changelog to the terminal
if [[ $interactive == true && $verbose_mode == default ]]; then
ZSH="$ZSH" command zsh -f "$ZSH/tools/changelog.sh" HEAD "$last_commit"

Loading…
Cancel
Save