Open suntong opened 7 years ago
I dont think so, it is self contained.
But yeah it has been designed while working with them, some of the tools in GGR are definitely integrating nicely with this one. The most noticeable is changelog.
k. thx.
FTR, from here, https://github.com/mh-cbon/go-github-release/issues/12#issuecomment-301711742, it seems that it depends on gump
:
What does the notation of !newversion! or !isprerelease! mean? Should I use them literally?
Its a bump script, a script you run when you go from version A to version B. Those values are valid only within this file (https://github.com/mh-cbon/gump) They are used currently to put your assets on the right release version. But you might replace it with static values i guess, give it a try.
hmmmmmm yes, no.
no because you might set the version manually. gump is only a bumper to make that happen via verbs rather than numbers.
You got to get the version name from somewhere, gump is one way, you might use a name generator https://github.com/dustinkirkland/golang-petname
Note, currently there is one blocking point, indeed.
ver is required to be valid semver, https://github.com/mh-cbon/gh-api-cli/blob/12a88f8725038d7dda0bd71f7034b505d9963b55/dl/index.go#L111
At least for download command, I did not check the rest of the code.
Should not be a requirement, on the other hand semver named release allows range selection, names does not.
I ll keep it open, lets see.
Does
gh-api-cli
depend on any othergo-github-release
tools?