-
Notifications
You must be signed in to change notification settings - Fork 482
Update PUBLISH.md documentation #1146
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
base: mainnet
Are you sure you want to change the base?
Conversation
iamalwaysuncomfortable
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small changes and then it's good.
PUBLISH.md
Outdated
| mv latest_release/wasm/dist/${PREVIOUS_RELEASE} wasm/dist/${PREVIOUS_RELEASE} | ||
| mv latest_release/sdk/dist/${PREVIOUS_RELEASE} sdk/dist/${PREVIOUS_RELEASE} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| mv latest_release/wasm/dist/${PREVIOUS_RELEASE} wasm/dist/${PREVIOUS_RELEASE} | |
| mv latest_release/sdk/dist/${PREVIOUS_RELEASE} sdk/dist/${PREVIOUS_RELEASE} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't need to exist as the build command overwrites the latest release and the deploy command explicity cd's into the dir and releases it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mentioned that a release packages both the testnet and mainnet binaries.
Say we're releasing an update to testnet, my understanding was that we could:
- build testnet
- don't have to rebuild mainnet, we can just re-use the latest mainnet release binaries. This is what I'm trying to specify with this line.
Let me know if this is wrong or you prefer we document that one should always build both branches
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| git tag ${SDK_TAG} | ||
| git push origin ${SDK_TAG} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| git tag ${SDK_TAG} | |
| git push origin ${SDK_TAG} | |
| git tag -a ${SDK_TAG} | |
| git push origin ${SDK_TAG} | |
| ## If gh cli is installed, otherwise, create the release manually. | |
| gh release create ${SDK_TAG} --notes-from-tag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8735c72 to
4ae9efc
Compare
Motivation
Updates the release documentation based on our recent conversation. It is hella ugly and likely incomplete, but keen to get the specification correct before we start proposing any automation.
Also closes #1145