GitHub Release Description

Hi,

I use the GitHub release feature which is really great.
But I haven't find any way to define the description of the release.

Is that possible?

Thanks.

  1. Nope, but this could be easily added.

  2. That would be excellent! :)
    Thanks.

  3. It's been deployed. There is a new provider setting description.

  4. Wow, you're the best!

  5. @Jeremie / @Feodor - what do you mean GH release feature please?

    /me is curious ;)

  6. Ah, there is deployment provider for creating GitHub release and pushing artifacts to it: http://www.appveyor.com/docs/deployment/github

  7. Ah! gotcha - cheers :) .. interesting ...

  8. I have just tested it with an environment variable, but sadly it seams that only the first line was taken:
    the value of the environment variable was:
    "Commits: [01422237dc...cb05b3fea6](https://github.com/laedit/SemanticReleaseNotesParser/compare/01422237dc...cb05b3fea6)
     
    # Enhancement
    - [#3](https://github.com/laedit/SemanticReleaseNotesParser/issues/3) - Support environment variable for AppVeyor
    - [#2](https://github.com/laedit/SemanticReleaseNotesParser/issues/2) - Support format in Html / Markdown
    - [#1](https://github.com/laedit/SemanticReleaseNotesParser/issues/1) - Respect Semantic Release Notes v 0.3"

    But only "Commits: [01422237dc...cb05b3fea6](https://github.com/laedit/SemanticReleaseNotesParser/compare/01422237dc...cb05b3fea6)" was used.

    Is it possible to take all the lines?
    Or to accept a file, with a descriptionfilepath parameter for example?

    In any case, thanks for your work! :)

  9. I think multi-line content won't work with environment variables. The idea with supplying a file name is nice, but I'm not sure how it should work in case of environment which doesn't have access to build files.

    Maybe we could just agree on some lines separator like \n, so in order to have multi-line value you'll put into environment variable something like:

    line1\nline2\nline3
    

    and AppVeyor will replace \n to a real CRLF. This will only work for GitHub release description.

  10. Why not just display a warning if the environment doesn't have access to build file?

    Anyway, the \n trick sounds good.

    And again thanks a lot for your hard work and responsiveness!

  11. OK, an update with \n support has been just deployed. Give it a try and let me know about results.

  12. Will do as soon as I can.
    Thanks! :)

  13. Cool, thanks for the update!

  14. I tried to set the description through an environment variable. But it seems that the description got shortend because of a size limit of environment variables. Any idea how to avoid that?

    Is there meantime a way to set the description of the release to the contents of a file?

  15. The only workaround here is using a custom script for publishing GitHub release. Look at this PowerShell example: https://github.com/FeodorFitsner/github-upload-tests/blob/master/up...

  16. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:14 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac