I am trying to automate the release of software using semantic-release. Everything is working fine. I run this command npx semantic-release --no-ci --dry-run
and get the following output in the terminal
...some other output
[1:01:55 pm] [semantic-release] ? ? Skip v0.1.1 tag creation in dry-run mode
[1:01:55 pm] [semantic-release] ? ? Published release 0.1.1 on default channel
[1:01:55 pm] [semantic-release] ? ? Release note for version 0.1.1:
## 0.1.1 (2021-01-24)
### Bug Fixes
* ravgeet is fixing things (92797f6)
* removed unwanted files (bdcc9ff)
* this is another fix (dbef2fd)
Now I need to get the release notes from the output
## 0.1.1 (2021-01-24)
### Bug Fixes
* ravgeet is fixing things (92797f6)
* removed unwanted files (bdcc9ff)
* this is another fix (dbef2fd)
How can I do so using grep command or any other means?
question from:
https://stackoverflow.com/questions/65868106/how-to-get-release-notes-from-semantic-release-output-using-grep-command 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…