Skip to content

Commit

Permalink
🚧Fix release note generation issue (#38)
Browse files Browse the repository at this point in the history
* Start work for issue #32

* fix: fix issue with creating notes header

* ide: add word to dictionary
  • Loading branch information
CalvinWilkinson authored Jun 27, 2024
1 parent e8e95ef commit 52cb19c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"kdcli",
"Kinson",
"LOCALAPPDATA",
"mediumseagreen",
"msbuild",
"msvc",
"Prepper",
Expand Down
2 changes: 1 addition & 1 deletion src/release-notes-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export class ReleaseNotesGenerator {
private createNotesHeader(settings: GeneratorSettings): string {
const headerText = settings.headerText
.replace("${VERSION}", settings.version ?? "")
.replace("${ENVIRONMENT}", settings.releaseType ?? "")
.replace("${RELEASETYPE}", settings.releaseType ?? "")
.replace("${REPONAME}", settings.repoName);

const extraEmptyLine = settings.extraInfo === undefined ? "" : "\n";
Expand Down

0 comments on commit 52cb19c

Please sign in to comment.