hyperledger-cacti / cacti

Hyperledger Cacti is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
344 stars 286 forks source link

ci(github): enable manual publishing of custom git tags via input args #3571

Closed petermetz closed 1 month ago

petermetz commented 1 month ago

The all-nodejs-packages-publish.yaml workflow now has an input parameter where one can specify an arbitrary release git tag (such as v2.0.0-rc.5) to be the one to be published.

This will help us in scenarios where the release automation script failed to run on GitHub and we have no way of publishing the given release manually from a local machine (since we do not have access to the npm/ghcr) tokens of the foundation (which is good security posture that we are happy to have)

In the scenario described above, in the future this will (should) allow us to fix bugs in the release automation script in commits that come after the failed release and then manually trigger the updated (now functional) publish job for the older release version.

This will (hopefully) grant us the ability to ensure that releases are not missing from the registries despite sometimes the automation breaking down.

Signed-off-by: Peter Somogyvari peter.somogyvari@accenture.com

Pull Request Requirements

Character Limit

A Must Read for Beginners For rebasing and squashing, here's a must read guide for beginners.