Skip to content

Commit

Permalink
fix(ci,bindings/nodejs): Set rev to allow building from source (iotal…
Browse files Browse the repository at this point in the history
  • Loading branch information
rajivshah3 authored May 20, 2021
1 parent 24a4b3f commit 282de0a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,22 @@
"path": "./bindings/nodejs",
"manager": "javascript",
"getPublishedVersion": "npm view ${ pkgFile.pkg.name } version",
"prepublish": [
{
"command": "false || dasel put object -f native/Cargo.toml '.dependencies.iota-client' -t string -t string git='https://github.com/iotaledger/iota.rs' rev=$GITHUB_SHA"
},
{
"command": "dasel put string -f native/Cargo.toml '.dependencies.iota-client.features.[]' mqtt"
},
{
"command": "cat native/Cargo.toml"
}
],
"publish": [
{
"command": "yarn publish --access public --loglevel silly"
}
]
}
}
}
}
5 changes: 5 additions & 0 deletions .changes/set-rev.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nodejs-binding": patch
---

Set git repo and rev to allow JS bindings to be built from source
4 changes: 4 additions & 0 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
run: |
git config --global user.name "${{ github.event.pusher.name }}"
git config --global user.email "${{ github.event.pusher.email }}"
- name: Install Dasel
run: brew install dasel

- name: covector version or publish (publish when no change files present)
uses: jbolda/covector/packages/action@covector-v0
id: covector
Expand Down

0 comments on commit 282de0a

Please sign in to comment.