feat(version upgrade): Add diff & confirmation for pkgctl version upgrade
`pkgctl version upgrade` now shows a `git diff` of the changes made to the PKGBUILD file and asks for user's confirmation. If changes are not confirmed, the changes are reverted via `git checkout`. Users can pass the `--noconfirm` flag to avoid being asked for a confirmation. Closes archlinux/devtools#239
Showing
- contrib/completion/bash/devtools.in 1 addition, 0 deletionscontrib/completion/bash/devtools.in
- contrib/completion/zsh/_devtools.in 1 addition, 0 deletionscontrib/completion/zsh/_devtools.in
- doc/man/pkgctl-version-upgrade.1.asciidoc 3 additions, 0 deletionsdoc/man/pkgctl-version-upgrade.1.asciidoc
- src/lib/version/upgrade.sh 22 additions, 0 deletionssrc/lib/version/upgrade.sh
Please register or sign in to comment