Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
# Changelog
9 changes: 7 additions & 2 deletions bootstrap
Original file line numberDiff line numberDiff line change
Expand Up@@ -138,9 +138,14 @@ sed -i.bak "s|^$PROJECT_NAME = \"$PACKAGE_NAME.cli:main\"|$cli_name_esc = \"$PAC

git mv "src/pythontemplate" "src/$PACKAGE_NAME"

# Reset release state.
# Reset release state. CHANGELOG.md is emptied, not seeded with a heading:
# release-please's Changelog updater treats any pre-existing content as prior
# changelog body when it finds no version heading, so it demotes `# Changelog`
# to `## Changelog` and appends it below the first release's entry
# (src/updaters/changelog.ts, adjustHeaders). An empty file takes the clean
# branch instead.
printf '{".":"0.0.0"}\n' > .release-please-manifest.json
printf '# Changelog\n' > CHANGELOG.md
: > CHANGELOG.md

# Template-only content must not propagate into the generated project: the
# design records, and the smoke test that drives ./bootstrap -- which is about
Expand Down