GitHub deployment: multi-line values for "Release description"
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
- Screenshot_2023-01-08_145040.png 21.8 KB
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
Support Staff 1 Posted by Feodor Fitsner on 08 Jan, 2023 06:34 PM
You can use
\n
(\\n
) indescription
setting which is replaced with a new line symbol on deploy.2 Posted by alexander.vitis... on 08 Jan, 2023 07:57 PM
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?
Support Staff 3 Posted by Feodor Fitsner on 08 Jan, 2023 09:38 PM
$(variable)
notation should work, see example: https://github.com/flet-dev/flet/blob/main/.appveyor.yml#L172-L1784 Posted by alexander.vitis... on 08 Jan, 2023 11:19 PM
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?
Support Staff 5 Posted by Feodor Fitsner on 09 Jan, 2023 12:22 AM
Absolutely,
$env:myvariable="xyz"
is the correct way of setting env vars.Feodor Fitsner closed this discussion on 11 Mar, 2023 09:02 PM.