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

How to release this project? #515

Open
reda-alaoui opened this issue Oct 7, 2021 · 1 comment
Open

How to release this project? #515

reda-alaoui opened this issue Oct 7, 2021 · 1 comment

Comments

@reda-alaoui
Copy link

Hello,

I forked the project to upload #514. Now, until #514 is merged upstream, I want to release my fork with the fix.

Usually there is a single package.json. Here there are many of them and they are not orchestrated by a lerna like tool.

What are the steps allowing to release (i.e. build and push artifacts to npmjs & cie) the project?

@reda-alaoui
Copy link
Author

reda-alaoui commented Oct 8, 2021

Here is the script that worked for me:

#!/bin/bash

set -xe

npm run unlink
npm version prerelease --preid=alpha4cosium --git-tag-version=false --prefix tool
npm version prerelease --preid=alpha4cosium --git-tag-version=false --prefix target/src
git add .
npm version prerelease --preid=alpha4cosium --force
npm ci
npm test
npm run pack-tool
npm run pack-runtime
npm publish ./tool
npm publish ./target/src

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

No branches or pull requests

1 participant