marceloavf / github-tools-vsts

πŸ“¦:octocat:πŸš€ Create and modify GitHub Releases in Azure DevOps Build and Release Management
https://marketplace.visualstudio.com/items?itemName=marcelo-formentao.github-tools
MIT License
24 stars 15 forks source link

New lines in release notes #37

Closed josesimoes closed 5 years ago

josesimoes commented 5 years ago

Question

How to add new lines in release notes in yaml?

Description How can use "\n" in the release notes when configuring the task in yaml?

I've tried:

'Check the [changelog]\n

'Check the [changelog]/\n

'Check the [changelog]\\n

and I always end up with this: image

What's the proper way to escape this? Or could it be that something is not being handled properly when sending this to GitHub?

Thanks! πŸ˜„

marceloavf commented 5 years ago

Hey @josesimoes, thank you for the feedback.

Release notes on GitHub are written in markdown, so you can use tag <br> to jump line. I think double break line works too, but it was not tested.

For YAML, I think the first one is advised.


For example: image or image


Please, let me know if it works. Thank you again!

josesimoes commented 5 years ago

Double break lines was was I was trying to use, without success. I've used HTML markdown with
as you've suggested and it's working.

Obrigado e parabΓ©ns pelo excelente trabalho nesse componente! πŸ˜‰ πŸ‘

marceloavf commented 5 years ago

Glad that it worked @josesimoes.

Muito obrigado!