back2dos / travix

Travis helper.
The Unlicense
33 stars 12 forks source link

Automated releases from tags #45

Closed back2dos closed 7 years ago

back2dos commented 7 years ago

It would be nice to have smooth release functionality in travix.

This comes in three parts:

The 2nd and 3rd part may require third party dependencies. Because this is local functionality that requires local connectivity and haxelib being up, there is no reason they can't be loaded on the fly. There could be two libs, i.e. travix_auth and travix_release. Then AuthCommand would just make sure travix_auth is installed and then haxelib run travix_auth ...args and ReleaseCommand would be similar. Also the 2nd and 3rd part should be able to append the after_success hook to the .travis.yml if not present (given that YAML only has single line comments checking reliably should be easy enough, but I wouldn't mind using a full YAML parser for that).

We should also avoid running two builds on every tag.

kevinresol commented 7 years ago

This should be ok for now.