Skip to content

Commit b914dd3

Browse files
committed
try to prevent failure of automatic release notes
1 parent e9174d6 commit b914dd3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## v0.25.0
3+
## 0.25.0
44

55
**This release deliberately contains backwards-incompatible changes.** To avoid automatically picking up releases like this, you should either be pinning the exact version of `esbuild` in your `package.json` file (recommended) or be using a version range syntax that only accepts patch upgrades such as `^0.24.0` or `~0.24.0`. See npm's documentation about [semver](https://docs.npmjs.com/cli/v6/using-npm/semver/) for more information.
66

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ platform-deno: platform-wasm
416416
node scripts/esbuild.js ./esbuild --deno
417417

418418
publish-all: check-go-version
419+
@grep "## `cat version.txt`" CHANGELOG.md || (echo "Missing '## `cat version.txt`' in CHANGELOG.md (required for automatic release notes)" && false)
419420
@npm --version > /dev/null || (echo "The 'npm' command must be in your path to publish" && false)
420421
@echo "Checking for uncommitted/untracked changes..." && test -z "`git status --porcelain | grep -vE 'M (CHANGELOG\.md|version\.txt)'`" || \
421422
(echo "Refusing to publish with these uncommitted/untracked changes:" && \

0 commit comments

Comments
 (0)