HomePhabricator

Move version comparison utility functions to their own file

Description

Move version comparison utility functions to their own file

Summary:
In order to migrate archive-release-notes and the AUR automation
according to D7442, we need a better way for these utility functions to
continue to be shared.

Test Plan:
With this patch applied, create a version bump commit to trigger release notes archiving:

sed -i 's/VERSION 0.22.2/VERSION 0.22.3/g' CMakeLists.txt
git add -u
git commit -m "version bump"

Test:

COMMIT_TYPE=archive-release-notes ./automated-commits.sh -p HEAD
git show     # verify release notes are archived as expected

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
jasonbcoxAuthored on Wed, Sep 16, 16:21
abc-botPushed on Wed, Sep 16, 16:25
Reviewer
Restricted Project
Differential Revision
D7449: Move version comparison utility functions to their own file
Parents
rABC899295e84d2c: Update the AUR packages builds to use the generated man pages
Branches
Unknown
Tags
Unknown