Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed build issue for JS wrappers #258

Merged

Conversation

berendsliedrecht
Copy link
Contributor

@berendsliedrecht berendsliedrecht commented Oct 26, 2023

Also fixes the issue of not being able to build using PowerShell as node shell.

and closes #248

Signed-off-by: Berend Sliedrecht <blu3beri@proton.me>
Signed-off-by: Berend Sliedrecht <blu3beri@proton.me>
@@ -244,7 +244,12 @@ jobs:
if: |
github.event_name == 'release' ||
(github.event_name == 'workflow_dispatch' && github.event.inputs.publish-wrappers == 'true')
run: npx lerna publish from-package --no-push --no-private --yes --no-git-tag-version
run: |
if [[ $(cat lerna.json | grep version | head -1 | grep dev) ]]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a simple check to see if there is a dev inside the version field of the lerna.json. not the strictest way to do this, but I'd rather move to release-it or something else then to create a proper lerna fix for this.

@berendsliedrecht berendsliedrecht merged commit 9be638a into hyperledger:main Oct 26, 2023
25 checks passed
@berendsliedrecht berendsliedrecht deleted the fix-build-issue-js-wrapper branch October 26, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

-dev version of JavaScript wrapper should be released under dev tag on NPM
2 participants