I'm not sure what the best way to provide support for this would be, but I would like to be able to mark releases as pre-releases on github.
Two options I can think of:
I would prefer some version of option 2, if possible.
:+1:
It appears to me that it's a straightforward case of passing prerelease: true to the payload. https://developer.github.com/v3/repos/releases/#create-a-release
Rule-based prerelease might be easier, since otherwise I suspect tweaking .travis.yml for each prerelease becomes a hassle.
+1
+1
As @BanzaiMan mentioned just adding prerelease: true under the deploy section makes release to be marked as pre-release.
example:
deploy:
provider: releases
prerelease: true
api_key: ....
no support for conditional though..
@orius123 Does that work right now? It's not in the documentation. Or were you saying it should work like that? I'd like to have this..
Dunno.. haven't tried for a while now.. worked back then.
Just tried and it seems to work fine. Would be nice to see it in the docs.
Most helpful comment
As @BanzaiMan mentioned just adding
prerelease: trueunder the deploy section makes release to be marked as pre-release.example:
no support for conditional though..