Skip to content

Commit

Permalink
chore(changelog): remove date from unreleased header (#3313)
Browse files Browse the repository at this point in the history
* chore(changelog): remove date from unreleased header

* remove date from changelog unreleased header

* cleanup

* add comment
  • Loading branch information
benelan authored Oct 25, 2021
1 parent 16f36b8 commit eb16749
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

<!--@unreleased-section-start-->

## Unreleased (2021-10-21)
## Unreleased

### ⚠ BREAKING CHANGES

Expand Down
4 changes: 4 additions & 0 deletions support/prepReleaseCommit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ async function appendUnreleasedNotesToChangelog(): Promise<void> {

if (hasUnreleasedContent) {
changelogContent = changelogContent.replace(unreleasedSectionPattern, `$1\n${unreleasedSectionContent}\n$3`);

// remove date to make linking easier
// https://github.com/Esri/calcite-components/blob/master/CHANGELOG.md#unreleased
changelogContent = changelogContent.replace(unreleasedHeaderPattern, "## Unreleased");
}

changelogContent = prettier.format(changelogContent, { parser: "markdown" });
Expand Down

0 comments on commit eb16749

Please sign in to comment.