As I start using this across some projects I find myself creating a HISTORY.md file at the root to represent the rolling history (so it looks more like a Markdown document). See this file for an example.
I see that your parser is only interested in one level of headers, which makes me think I'm doing it wrong (having multiple releases and other metadata in this one file).
The other option for this scenario is to have a folder called docs\releases\ (ermagherd worlds colliding perhaps?) which contains all of the releases done so far. Like this file
So this workflow springs to mind:
- start a release by creating a file named
docs\releases\A.B.md
- make some changes to the code
- edit the release notes file to indicate what was fixed
- commit and push those changes to the build server
- build server create binaries based on the largest "version" found - A.B.N (N is an incrementing number)
- build server generates the SRN release notes using a parser
- build scripts create package A.B.N by merge the SRN output with package metadata and binaries
- publish the package to users
What are your thoughts on this scenario?
As I start using this across some projects I find myself creating a
HISTORY.mdfile at the root to represent the rolling history (so it looks more like a Markdown document). See this file for an example.I see that your parser is only interested in one level of headers, which makes me think I'm doing it wrong (having multiple releases and other metadata in this one file).
The other option for this scenario is to have a folder called
docs\releases\(ermagherd worlds colliding perhaps?) which contains all of the releases done so far. Like this fileSo this workflow springs to mind:
docs\releases\A.B.mdWhat are your thoughts on this scenario?