Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep top of changelog file and replace only the unknown tag part #47

Closed
fabienjuif opened this issue Oct 25, 2018 · 0 comments · Fixed by #53
Closed

Keep top of changelog file and replace only the unknown tag part #47

fabienjuif opened this issue Oct 25, 2018 · 0 comments · Fixed by #53
Assignees

Comments

@fabienjuif
Copy link
Collaborator

The current algorithm should be changed:

  1. Open CHANGELOG.md
  2. For each line
    1. If line is not the previous tag: stream it to the tmp file
    2. If line is the previous tag:
      1. stream the NEW CHANGELOG into tmp file
      2. stream the rest of CHANGELOG.md to tmp file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant