chore: add package API changes to changelog and add gorelease tool (#2055)

* chore: add package API changes to changelog and add gorelease tool

* chore: use bullet points instead of a paragraph
This commit is contained in:
Pete Davison
2025-02-10 16:16:44 +00:00
committed by GitHub
parent ff8c913ce7
commit e7a6de64cb
2 changed files with 32 additions and 0 deletions

View File

@@ -120,6 +120,22 @@ tasks:
cmds:
- go install github.com/goreleaser/goreleaser/v2@latest
gorelease:install:
desc: "Installs gorelease: https://pkg.go.dev/golang.org/x/exp/cmd/gorelease"
status:
- command -v gorelease
cmds:
- go install golang.org/x/exp/cmd/gorelease@latest
api:check:
desc: Checks what changes have been made to the public API
deps: [gorelease:install]
vars:
LATEST:
sh: git describe --tags --abbrev=0
cmds:
- gorelease -base={{.LATEST}}
release:*:
desc: Prepare the project for a new release
summary: |