ember-cli-release
ember-cli-release copied to clipboard
How to create a full-fledged GitHub release
Right now ember release seems to create the following undesirable situation:

You'll note that github adds them as releases but doesn't show the message or show that they are the latest release
What I want is for the command to generate an actual release ala:

Am I missing some config option that will do this?
ember release does git tagging and pushes that to github (which they display as you have in the first image). This repo does not use the GH API to create "GitHub Release" descriptions and whatnot (the latter screenshots). It should be fairly straightforward to add in as a afterPush hook (see this example that publishes to npm upon ember release for an example of how to use the hook).
I'm not certain that there is a good default to use for the description and whatnot, so I don't know that we can do this automatically if we detect that the repo is a github repo...
"Full-fledged" Github releases are metadata associated with a tag that resides only in Github (not in your git repo). AFAIK, to create them requires using Github's API, which I haven't spent much time looking into.
I'm not opposed to adding support for this out of the box per-se, but it is something that is highly dependent on the particular project (so would be difficult to make a one-size-fits-all solution). For instance, in our app we create Github releases from tags created by ember-cli-release with lots more information about the release.
@slindberg maybe this would be best added as an example in the readme, much like the auto-publish code. I can investigate this a bit next week maybe.
@elwayman02 :+1:
I haven't given it much thought because I've never used the Github API and didn't want to deal with authentication. If you can whip up an example, I think it'd be an excellent addition to the readme.
I tried semantic-release-cli and it does that. I think we can bring some of those ideas to this addon.
Also, is there a reason why publish isnt the default for public modules?