GitHub deployment: multi-line values for "Release description"

alexander.vitischenko's Avatar

alexander.vitischenko

08 Jan, 2023 01:52 PM

Hi AppVeyor Team,

Can you please advise how I can supply multi-line "Release description" value for GitHub Deployment?

Please see how "Release description" field look at GitHub - attached.

Thank you,
Alexander

  1. Support Staff 1 Posted by Feodor Fitsner on 08 Jan, 2023 06:34 PM

    Feodor Fitsner's Avatar

    You can use \n (\\n) in description setting which is replaced with a new line symbol on deploy.

  2. 2 Posted by alexander.vitis... on 08 Jan, 2023 07:57 PM

    alexander.vitischenko's Avatar

    Thanks! + I'm also trying to use <br> as GitHub is supposed to support HTML markup partially

    One simple thing I failed to do by now is to set "Release description" field using $(my_variable). Perhaps I should be using {my_variable} or {{my_variable}} notation?

  3. Support Staff 3 Posted by Feodor Fitsner on 08 Jan, 2023 09:38 PM

    Feodor Fitsner's Avatar

    $(variable) notation should work, see example: https://github.com/flet-dev/flet/blob/main/.appveyor.yml#L172-L178

  4. 4 Posted by alexander.vitis... on 08 Jan, 2023 11:19 PM

    alexander.vitischenko's Avatar

    Maybe I should set variables in PowerShell differently, and change “$myvariable=xyz” to “$env:myvariable=xyz”?

    Then use “$(myvariable)” for GitHub deployment without env prefix?

  5. Support Staff 5 Posted by Feodor Fitsner on 09 Jan, 2023 12:22 AM

    Feodor Fitsner's Avatar

    Absolutely, $env:myvariable="xyz" is the correct way of setting env vars.

  6. Feodor Fitsner closed this discussion on 11 Mar, 2023 09:02 PM.

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