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

Add compare URLs to release headings based on previous release headings when no unreleased heading is available #52

Merged
merged 17 commits into from
May 18, 2024

Conversation

stefanzweifel
Copy link
Owner

@stefanzweifel stefanzweifel commented May 15, 2024

This PR adds a new feature to the CLI, to build compare URLs even if no "Unreleased" heading is available.

The CLI checks the previous release heading. If it contains an URL and the URL is a GitHub compare URL, the CLI uses these values to build the new release heading.
The URL of the previous heading is updated, so the URL points to the latest release.

TODOs

  • Add Tests
  • Add Test for when URL is not a compare URL
  • Improve implementation

@stefanzweifel stefanzweifel marked this pull request as ready for review May 18, 2024 10:28
@stefanzweifel stefanzweifel merged commit ec66a28 into main May 18, 2024
6 checks passed
@stefanzweifel stefanzweifel deleted the feat/add-compare-urls branch May 18, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant