ci: implement workflow for developer created releases #913
Labels
Feature Enhancement
Enhancing an existing feature driven by business requirements. Typically backwards compatible.
github_actions
Pull requests that update GitHub Actions code
Create a workflow for developers to publish snaps.
@rbarkerSL and @andrewb1269hg to discuss how to roll
.json
version numbers forward automatically.Other commands to be run:
cd
into appropriate directory (example:hedera-metamask-snaps/packages/hedera-wallet-snap/packages/snap
)npm i
to install npm dependenciesnpm run build
to buildnpm run test
to testnpm pack
to create the release packagels | grep tgz
to confirm the package was created successfully (it was, name:hashgraph-hedera-wallet-snap-0.6.2.tgz
)npm publish
to publish the package to npm registryThere are two snap packages we should be supporting:
hedera-identify-snap
hedera-metamask-snap
Our workflow should default to releasing both, but allow for
dry-run
functionality (test without releasing), or the ability to release only 1 package.Definition of Done:
The text was updated successfully, but these errors were encountered: