feat: add automated draft release on version change#195
Conversation
feat: add automated release on version change
|
I wonder if https://github.com/googleapis/release-please might just be a better option here. I'm going with that in filecoin-pin at the moment and we'll be switching synapse-sdk to it and it's fairly flexible, not tied to npm/node stuff. Maybe we can extend it with some hooks to do some updates for us - like update the version string in the contract for us based on conventional commits guessing. Worth looking at at least? |
|
Yeah, I will take a look at that. And update accordingly. |
|
Below are my thoughts @rjan90 around this subject. But maybe we should move this to a more general "FOC contract versioning and release management" design doc?
{
networkName : "mainnnet",
contractNameDeployed : "pdp.sol",
commitDeployed : "commit_that_corresponds_with_version_2.1.0",
contractAddress : "address_of_contract_on_mainnet",
deploymentTransaction : "transaction_hash",
}
General comments:
I won't claim expertise here and happy to support alternative approaches. This is where I landed with when trying to balance where we are with getting things more auditable and less error prone for the future. |
|
Will close this draft PR, since we are moving to a mono-repo and will need to handle automation of changelogs/releases differently when there are multiple contracts in a single repo. |
Add automated release workflow for version changes:
Workflow: