HomePhabricator

Add more flexibility to the update-aur.sh script

Description

Add more flexibility to the update-aur.sh script

Summary:
This diffs makes the script to update a single package at a time, and
take an optional commit message to replace the default version/release
bump message.

Test Plan:
Comment the final push, then:
Should fail:

./update-aur.sh
./update-aur.sh this has too many arguments

Should succeed:

./update-aur.sh bitcoin-abc
./update-aur.sh bitcoin-abc "my commit message"

Check that the commit message is the one passed on the command line.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D7267

Details

Provenance
FabienAuthored on Aug 28 2020, 11:06
FabienPushed on Aug 28 2020, 18:45
Reviewer
Restricted Project
Differential Revision
D7267: Add more flexibility to the update-aur.sh script
Parents
rABC5fb5f30831dc: Add a script to update the AUR packages
Branches
Unknown
Tags
Unknown