Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy to github releases does not allow us to specify changelog (release notes) #6423

Closed
ssbarnea opened this issue Aug 8, 2016 · 9 comments

Comments

@ssbarnea
Copy link

ssbarnea commented Aug 8, 2016

Even if GitHub releases do support release notes (changelog) it seems that using Travis we cannot specify them.

The documentation page from https://docs.travis-ci.com/user/deployment/releases does not any word regarding release notes.

@pjvds
Copy link

pjvds commented Nov 8, 2016

The github releases API has support for setting the release notes (changelog) via the body field, see: github releases api docs. It would be nice if we get an extra field in the deploy section of the travis.yml to set this value.

@joepvd
Copy link

joepvd commented Nov 22, 2016

Cross linking to the dpl repository: travis-ci/dpl#155

@ssbarnea
Copy link
Author

ssbarnea commented Jan 22, 2017

Any update on this? More than 6 months later and no update regarding uploading the release notes to github. I have lots of users complaining about the lack of release notes / changelog.

@pjvds Please note that I already have the changelog on disk, the only thing we need is to tell travis to load the content of this file as the body parameter.

@thom4parisot
Copy link

Hi there,

indeed it would be a lovely addition. The :body field content can be automatically generated via an audit of git logs. It does not necessarily means files are releases too (in the case of tagged npm release for example, the artefact is then hosted on npmjs.com)

@llorllale
Copy link

+1

My workaround is attaching a file with the release notes, although having them displayed directly in the release' description is preferrable.

@stale
Copy link

stale bot commented Apr 13, 2018

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues

@stale stale bot added the stale label Apr 13, 2018
@stale stale bot closed this as completed Apr 16, 2018
@GhostofGoes
Copy link

Any updates on this?

@berry120
Copy link

This would be really useful for us as well - we have a CI build that's automatically published as a Github release, and we'd like to be able to add release notes warning that it's an unstable build (it's right there in the title, but people often download it anyway...)

@thom4parisot
Copy link

thom4parisot commented Jun 28, 2018

As far as I understand, the underlying library accepts the body argument (cf. Advanced Options). You can populate it with the content of a file (or the topmost section of a CHANGELOG file).

A problem down the line seems to prevent formatted body content.
Someone posted this Gist to workaround this (found in travis-ci/dpl#155): https://gist.github.com/valeriomazzeo/5491aee76f758f7352e2e6611ce87ec1

Looks like it does what we are looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants