GitHub Release Description

Jérémie Bertrand's Avatar

Jérémie Bertrand

25 Jan, 2015 03:28 PM

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. Support Staff 1 Posted by Feodor Fitsner on 25 Jan, 2015 05:16 PM

    Feodor Fitsner's Avatar

    Nope, but this could be easily added.

  2. 2 Posted by Jérémie Bertran... on 26 Jan, 2015 09:56 AM

    Jérémie Bertrand's Avatar

    That would be excellent! :)
    Thanks.

  3. Support Staff 3 Posted by Feodor Fitsner on 27 Jan, 2015 06:15 AM

    Feodor Fitsner's Avatar

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

  4. 4 Posted by Jérémie Bertran... on 28 Jan, 2015 06:27 AM

    Jérémie Bertrand's Avatar

    Wow, you're the best!

  5. 5 Posted by Pure Krome on 29 Jan, 2015 04:08 AM

    Pure Krome's Avatar

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

    /me is curious ;)

  6. Support Staff 6 Posted by Feodor Fitsner on 29 Jan, 2015 04:10 AM

    Feodor Fitsner's Avatar

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

  7. 7 Posted by Pure Krome on 29 Jan, 2015 04:15 AM

    Pure Krome's Avatar

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

  8. 8 Posted by Jérémie Bertran... on 25 Feb, 2015 06:31 AM

    Jérémie Bertrand's Avatar

    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. Support Staff 9 Posted by Feodor Fitsner on 25 Feb, 2015 06:37 PM

    Feodor Fitsner's Avatar

    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. 10 Posted by Jérémie Bertran... on 27 Feb, 2015 05:13 AM

    Jérémie Bertrand's Avatar

    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. Support Staff 11 Posted by Feodor Fitsner on 27 Feb, 2015 05:19 AM

    Feodor Fitsner's Avatar

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

  12. 12 Posted by Jérémie Bertran... on 27 Feb, 2015 05:53 AM

    Jérémie Bertrand's Avatar

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

  13. 13 Posted by Jérémie Bertran... on 28 Feb, 2015 05:33 AM

    Jérémie Bertrand's Avatar
  14. Support Staff 14 Posted by Feodor Fitsner on 28 Feb, 2015 06:04 AM

    Feodor Fitsner's Avatar

    Cool, thanks for the update!

  15. 15 Posted by Torsten on 12 Feb, 2017 04:13 PM

    Torsten's Avatar

    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?

  16. Support Staff 16 Posted by Feodor Fitsner on 14 Feb, 2017 01:24 AM

    Feodor Fitsner's Avatar

    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...

  17. 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