-
Notifications
You must be signed in to change notification settings - Fork 99
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
Would Dfinity like to take over publishing base package on Mops? #617
Comments
We are discussing this in slack. Seems like a good idea so far and I guess would make your life easier, right? |
Yes, and it seems more correct if the author of the package publishes it. It would be great to maintain a I used to do this manually for every release. Let me know, if you agree:
Also you can fill out a profile on mops using Mops CLI:
Name |
That is very cool; thank you for the detailed info! It seems like we've come to an agreement about doing this. Here is the principal that we intend to use for publishing the package:
Cheers! |
Nice! I have made PR is ready for review #618 I will transfer ownership once the PR is merged. |
Related issue #617 Adds ability to publish a package to the mops registry when a production github release is created. What changed: - Updated ic-mops to 0.39.2 - Updated readme - Changed imports in tests to relative paths, because a package with local dependencies cannot be published on mops. - Added `CHANGELOG.md` with example text for the version `0.10.3` - Added `[package]` section to `mops.toml` - Added `[toolchain]` section to `mops.toml`, which specifies the versions of `moc` and `wasmtime` that will be used to run tests. - Added `mops-publish.yml` github action To publish: - Add `MOPS_IDENTITY_PEM` to github secrets (one-time) - Bump version in `mops.toml` - Make sure there is a paragraph with that version in `CHANGELOG.md` (e.g. `## 0.10.3` or `## 0.10.4 (2024-01-10)` - Create a production GitHub Release On publish: - Mops will run tests, and if the tests fail, the publication will be aborted - Documentation is generated automatically --------- Co-authored-by: Claudio Russo <claudio@dfinity.org> Co-authored-by: rvanasa <ryan.vandersmith@dfinity.org>
Ownership transferred to Extra PR to fix publishing #621 |
Currently there is no team ownership implemented in mops yet.
But it is possible to store PEM file in GitHub Secrets and use github action to auto publish a package on mops when you create github release using https://github.com/ZenVoich/setup-mops?tab=readme-ov-file#publish-a-package
Working example https://github.com/ZenVoich/http-types/actions/runs/7471609722/job/20332184506
The only security thing is that someone from dfinity need to generate dfx identity PEM and save it in github secrets.
The text was updated successfully, but these errors were encountered: