HomePhabricator

[CI] Automated commits: use nameref to get the current version

Description

[CI] Automated commits: use nameref to get the current version

Summary:
Using the standard output to get the version cause garbage to get into
the variable. Using nameref ensure only the version string is assigned
to the named variable.

Test Plan:

COMMIT_TYPE=update-aur-version-bitcoin-abc \
  ./contrib/source-control-tools/automated-commits.sh

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
FabienAuthored on Sep 8 2020, 12:36
abc-botPushed on Sep 8 2020, 12:41
Reviewer
Restricted Project
Differential Revision
D7390: [CI] Automated commits: use nameref to get the current version
Parents
rABCb9429024398a: [backport#16397] doc: Clarify includeWatching for fundrawtransaction
Branches
Unknown
Tags
Unknown