Skip to content

[Idea] Using plain text files as inputs to SRN #2

@shiftkey

Description

@shiftkey

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions