]> Cypherpunks repositories - gostls13.git/commit
cmd/relnote: fix API relnote check
authorJonathan Amsterdam <jba@google.com>
Thu, 1 Feb 2024 21:00:51 +0000 (16:00 -0500)
committerJonathan Amsterdam <jba@google.com>
Mon, 5 Feb 2024 16:31:53 +0000 (16:31 +0000)
commitd3fd7ee5803078b775f8c4de6c056e4a360ea2cc
tree366c88044adac9f036ac71d96205dfc5bf0a458f
parent76ff0caa594bfb76cd3dd39b169da54545cffd64
cmd/relnote: fix API relnote check

Fix the check for release note files that correspond to API files
to look in the right directory, doc/next/*stdlib/*minor. Previously
the test looked in doc/next.

Improve the error messages when the test fails to explain the problem
better and refer to further documentation.

(These changes are actually in the x/build repo; this CL vendors
the latest version.)

Lastly, re-enable the check.

For #64169.

Change-Id: I8bba845e9bd12afbe269ce42d6d4b17b1e3c0252
Reviewed-on: https://go-review.googlesource.com/c/go/+/560516
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go.mod
src/cmd/go.sum
src/cmd/relnote/relnote_test.go
src/cmd/vendor/golang.org/x/build/relnote/relnote.go
src/cmd/vendor/modules.txt