dfinity / motoko-base

The Motoko base library
Apache License 2.0
483 stars 99 forks source link

Publish on Mops #618

Closed ZenVoich closed 9 months ago

ZenVoich commented 9 months ago

Related issue #617

Adds ability to publish a package to the mops registry when a production github release is created.

What changed:

To publish:

On publish:

crusso commented 9 months ago

Ah, one question though. I don't think base actually publishes releases per se. We just a git tag every time we release moc. Will that be an issue? @ggreif whaddya think?

UPDATE: I guess its just a matter of pushing a button, or adding a GH action that watches for certain tags to push a release - something similar to what we do on the moc repo.

crusso commented 9 months ago

@rvanasa I'll let you push the merge button when you are ready (obviously not over the weekend)

rvanasa commented 9 months ago

As a quick update, we are ready to merge after configuring the GitHub secret (waiting on an internal IT process). @ZenVoich, thanks again for preparing this PR!

rvanasa commented 9 months ago

The GH secret is now configured! @ZenVoich, here is a PR to fix the merge conflicts: https://github.com/ZenVoich/motoko-base/pull/2