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

ci: implement workflow for developer created releases #913

Open
2 tasks
Tracked by #133
andrewb1269hg opened this issue Jan 29, 2025 · 1 comment
Open
2 tasks
Tracked by #133

ci: implement workflow for developer created releases #913

andrewb1269hg opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
Feature Enhancement Enhancing an existing feature driven by business requirements. Typically backwards compatible. github_actions Pull requests that update GitHub Actions code

Comments

@andrewb1269hg
Copy link
Contributor

andrewb1269hg commented Jan 29, 2025

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 dependencies
npm run build to build
npm run test to test
npm pack to create the release package
ls | 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 registry

There 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:

  • A new workflow a developer can run to publish snaps
  • A toggle feature to enable or disable specific snap publishing (publish either individually or both)
@andrewb1269hg andrewb1269hg added the github_actions Pull requests that update GitHub Actions code label Jan 29, 2025
@andrewb1269hg andrewb1269hg self-assigned this Jan 29, 2025
@andrewb1269hg andrewb1269hg added the Feature Enhancement Enhancing an existing feature driven by business requirements. Typically backwards compatible. label Jan 30, 2025
@andrewb1269hg
Copy link
Contributor Author

Moving to Blocked state until @rbarkerSL and I have a chance to discuss further on Monday, 2/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Enhancement Enhancing an existing feature driven by business requirements. Typically backwards compatible. github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

No branches or pull requests

1 participant