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

chore(contracts): make release task support all existing contracts #13176

Merged
merged 4 commits into from
Jan 5, 2024

Conversation

clemsos
Copy link
Member

@clemsos clemsos commented Jan 5, 2024

Description

This PR enables the release of any contract from the smart-contracts folder into the contracts package with a single hardhat cli task (previously only Unlock and PublicLock were supported).

example here :

cd smart-contracts
yarn hardhat release --contract contracts/utils/UnlockSwapPurchaser.sol

Issues

Fixes #
Refs #

Checklist:

  • 1 PR, 1 purpose: my Pull Request applies to a single purpose
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the docs to reflect my changes if applicable
  • I have added tests (and stories for frontend components) that prove my fix is effective or that my feature works
  • I have performed a self-review of my own code
  • If my code involves visual changes, I am adding applicable screenshots to this thread

Release Note Draft Snippet

@clemsos clemsos requested a review from julien51 January 5, 2024 19:29
@cla-bot cla-bot bot added the cla-signed label Jan 5, 2024
@julien51
Copy link
Member

julien51 commented Jan 5, 2024

Thanks!

@clemsos clemsos merged commit 045cdea into master Jan 5, 2024
13 checks passed
@clemsos clemsos deleted the release-task-any-contract branch January 5, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants