Reference
Release and npm publishing
Understand the tag-driven GitHub release workflow and npm wrapper package contract.
Release trigger
The release workflow runs when a v* tag is pushed:
make release-tag VERSION=0.2.0
That creates and pushes v0.2.0.
What the workflow does
The GitHub Actions workflow:
- runs Go and Node quality checks
- builds native binaries for supported OS/architecture targets
- uploads binaries to a GitHub Release
- publishes the npm package with the version from the tag
Binary asset names
Release assets use this shape:
agentscript_<goos>_<goarch>[.exe]
Examples:
agentscript_darwin_arm64
agentscript_linux_amd64
agentscript_windows_amd64.exe
Required secret
Publishing to npm requires this GitHub secret:
NPM_TOKEN