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.

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • Screenshot_2023-01-08_145040.png 21.8 KB

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

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

Recent Discussions

27 Jan, 2023 08:06 PM
27 Jan, 2023 08:05 PM
25 Jan, 2023 03:23 PM
25 Jan, 2023 03:22 PM
23 Jan, 2023 03:29 PM