Page MenuHomePhabricator

Move version comparison utility functions to their own file

Authored by jasonbcox on Sep 15 2020, 17:58.



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"


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

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

deadalnix added a subscriber: deadalnix.

Accepting, but this is looking more and more like you want to invest in some python here.

This revision is now accepted and ready to land.Sep 15 2020, 22:46