Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.I've wanted this for a long time, I'm sure others have too.
Git tag task:
Creates and optionally pushes git tags.
I've wanted this for a long time, I'm sure others have too.
Git tag task:
Creates and optionally pushes git tags.
Comments
Comment #3
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedCode looks straightforward enough. So +1 in general.
I'm wondering if the 'Force: Reset --hard before tag' checkbox is usefull git tag would as far as I know only affect committed code anyway.
Another thing we might improve is the error handling. In one test the reposerver was read-only. Where I expected an error I got an 'ok' message stating "fatal: could not read Username for 'https://git.example.com': No such device or address"
Comment #5
Jon PughAgreed, the code wasn't catching errors.
Last push fixed that. Both for the checkout and the push. Both fire warnings if they failed, since they only fire if optionally.
Comment #6
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentednice, just tried it and now works as expected.
Comment #8
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedmerged