Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ jobs:
run: npm pack --dry-run

- name: Publish to npm
run: npm publish --provenance --access public
run: npm publish --provenance --access public --tag latest
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- The publish job runs in the `npm-release` GitHub environment.
- `package.json` must include a `repository.url` that exactly matches `https://github.com/ScopeLift/stealth-address-sdk`.
- The npm package's trusted publisher settings must exactly match `ScopeLift/stealth-address-sdk`, workflow `publish.yml`, and environment `npm-release`.
- Release tags publish to npm with the default `latest` dist-tag.
- Release tags publish to npm with an explicit `latest` dist-tag, which npm requires for prerelease versions.
- The publish job fails unless the tag version matches `package.json` and the tag points at the latest `main` commit.

## Commands
Expand Down
Loading