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

feat: do not write "Same as previous version" as first thing in a brand-new changelog #655

Merged
merged 2 commits into from
Mar 23, 2023

Conversation

maelle
Copy link
Member

@maelle maelle commented Mar 20, 2023

Fix #259

Copy link
Contributor

@krlmlr krlmlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good.

@@ -27,14 +27,16 @@ update_news_impl <- function(commits, which) {
which <- "dev"
}
}
no_news.md_yet <- is.null(fledgeling[["news"]])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙀

Suggested change
no_news.md_yet <- is.null(fledgeling[["news"]])
initializing <- is.null(fledgeling[["news"]])

Other candidates: just_hatching or brand_new, but this would be confusing too.

@@ -35,11 +35,11 @@ collect_news <- function(commits) {

if (is.null(newsworthy_items)) {
if (nrow(commits) <= 1) {
newsworthy_items <- parse_bullet_commit("- Same as previous version.")
if (fledge_chatty()) cli_alert_info("Same as previous version.")
newsworthy_items <- parse_bullet_commit(sprintf("- %s", same_as_previous()))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we already switch to glue entirey?

@krlmlr krlmlr merged commit 10ba1fe into main Mar 23, 2023
@krlmlr krlmlr deleted the added-changelog branch March 23, 2023 02:41
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Do not use "Same as previous version." as first message in NEWS.md
2 participants