Skip to content

Commit

Permalink
Better README
Browse files Browse the repository at this point in the history
  • Loading branch information
staltz committed May 16, 2024
1 parent 3525b13 commit 794ce22
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 42 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/publish-npmjs.yml

This file was deleted.

13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ Same as `npm run build-debug` but, builds the module with the [`release`](https:

Runs the unit tests.

## Making prebuilds
## Releasing new versions

You must first compile "prebuilds" for Android and iOS and this may require running on a macOS computer which has iOS specific CLI tools.


### For Android

Expand Down Expand Up @@ -101,3 +104,11 @@ npx prebuild-for-nodejs-mobile ios-arm64-simulator --verbose
```
npx prebuild-for-nodejs-mobile ios-x64-simulator --verbose
```

### Publishing on npm

When the prebuilds are ready, make sure you have rights to publish to the `@railgun-community/poseidon-hash-rsjs` npm package, and then run

```
npm publish --access public
```

0 comments on commit 794ce22

Please sign in to comment.