Skip to content

Commit

Permalink
Bump nodejs version, add alpha tag for wasm releases (#2227)
Browse files Browse the repository at this point in the history
* Bump nodejs version, add alpha tag for wasm releases

* format

* Fix nodejs build on windows
  • Loading branch information
Thoralf-M authored Apr 17, 2024
1 parent 0694acf commit 6ba2470
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bindings-wasm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
shell: sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn publish --access public
run: yarn publish --access public --tag alpha

- name: Prepare Github release
id: prepare_release
Expand Down
6 changes: 6 additions & 0 deletions bindings/nodejs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security -->

## 2.0.0-alpha.6 - 2024-04-17

### Fixed

- MacOS binary build;

## 2.0.0-alpha.5 - 2024-04-15

### Added
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iota/sdk",
"version": "2.0.0-alpha.5",
"version": "2.0.0-alpha.6",
"description": "Node.js binding to the IOTA SDK library",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions bindings/nodejs/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const { spawnSync } = require('child_process');
const { status } = spawnSync(process.platform === 'win32' ? 'yarn.cmd' : 'yarn', ['build'], {
stdio: 'inherit',
cwd: resolve(__dirname, '../'),
shell: true
});

if (status === null) {
Expand Down

0 comments on commit 6ba2470

Please sign in to comment.