build: publish npm package with goreleaser (#2363)

This commit is contained in:
Valentin Maerten
2025-08-12 18:51:20 +02:00
committed by GitHub
parent 79c93fb42b
commit 083654d8c9
6 changed files with 20 additions and 73 deletions

View File

@@ -203,7 +203,6 @@ tasks:
Please wait for the CI to finish and then do the following:
- Copy the changelog for v{{.VERSION}} to the GitHub release
- Publish the package to NPM with `task npm:publish`
- Update and push the snapcraft manifest in https://github.com/go-task/snap/blob/main/snap/snapcraft.yaml
preconditions:
- sh: test $(git rev-parse --abbrev-ref HEAD) = "main"
@@ -222,8 +221,3 @@ tasks:
- "git push origin tag v{{.VERSION}}"
- cmd: printf "%s" '{{.COMPLETE_MESSAGE}}'
silent: true
npm:publish:
desc: Publish release to npm
cmds:
- npm publish --access=public