Describe the bug
If an annotated tag has newlines, --notes-from-tag should preserve those newlines in the created release, but it strips all newlines.
Steps to reproduce the behavior
- create an annotated tag which has newlines
- create a release using
gh release ... --notes-from-tag
- the release it creates will have the content of the annotated tag but without the newlines
Expected vs actual behavior
See above.
Logs
Example:
tag 8.0.0
Tagger: runner <runner@fv-az775-255.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net>
Date: Mon Jul 8 20:32:56 2024 +0000
### Changed
- **BREAKING** `spotlessChangelog` now creates GitHub releases by default ([#6](https://github.com/diffplug/blowdryer-diffplug/pull/6))
- you need to update your `deploy.yml`
- if you set the `tagPrefix`, then you'll need to update the `runAfterPush`
- see PR above for details
commit c642275aebd3ce915fbd4a471117169e164c15a0 (tag: 8.0.0, origin/release, release)
gh release create '8.0.0' --title '8.0.0' --notes-from-tag
gh release view 8.0.0
8.0.0
nedtwigg released this about 5 minutes ago
### Changed - BREAKING spotlessChangelog now creates GitHub releases by default (#6
https://github.com/diffplug/blowdryer-diffplug/pull/6) - you need to update your deploy.yml - if you set the
tagPrefix , then you'll need to update the runAfterPush - see PR above for details
View on GitHub: https://github.com/diffplug/blowdryer-diffplug/releases/tag/8.0.0
Describe the bug
If an annotated tag has newlines,
--notes-from-tagshould preserve those newlines in the created release, but it strips all newlines.Steps to reproduce the behavior
gh release ... --notes-from-tagExpected vs actual behavior
See above.
Logs
Example:
git show 8.0.0gh release create '8.0.0' --title '8.0.0' --notes-from-taggh release view 8.0.0