deploying to Github releases with custom description

jfayre's Avatar


15 Oct, 2021 02:32 PM

Hi all,
I'm relatively new to Appveyor.
I'm setting up our project to deploy to Github releases. I want to be able to include a custom description with each push, containing release notes.
My idea is to include a file in the repo that has the text of the description, then include that file as part of the request to the github releases api.
How can I go about doing this? Do I need a deploy script? If so, how would I do that?
I want to deploy on tagged commits.

  1. 1 Posted by jfayre on 15 Oct, 2021 04:43 PM

    jfayre's Avatar

    As an update to this, I got things partially working with a script that was posted on the forum a while back. My problem now is with the description file. The description file contains several lines, formatted using Markdown, which I believe is supposed to work. In my script, I'm doing the following to pull in the description:
    $description = Get-Content c:\projects\appveyor-test\ -Raw
    However, I'm getting an error from the github api that says the description is null.
    If I pass one line of description in quotes, it works.

    I'm attaching my appveyor.yml file.

  2. Support Staff 2 Posted by Feodor Fitsner on 15 Oct, 2021 06:34 PM

    Feodor Fitsner's Avatar

    Try passing hard-coded multi-line value?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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