Skip to content

Conversation

@vicsn
Copy link
Collaborator

@vicsn vicsn commented Dec 9, 2025

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

@vicsn vicsn requested a review from Roee-87 January 7, 2026 19:46
Copy link
Member

@iamalwaysuncomfortable iamalwaysuncomfortable left a 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
Comment on lines 20 to 21
mv latest_release/wasm/dist/${PREVIOUS_RELEASE} wasm/dist/${PREVIOUS_RELEASE}
mv latest_release/sdk/dist/${PREVIOUS_RELEASE} sdk/dist/${PREVIOUS_RELEASE}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
mv latest_release/wasm/dist/${PREVIOUS_RELEASE} wasm/dist/${PREVIOUS_RELEASE}
mv latest_release/sdk/dist/${PREVIOUS_RELEASE} sdk/dist/${PREVIOUS_RELEASE}

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.

Copy link
Collaborator Author

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:

  1. build testnet
  2. 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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +26 to +21
git tag ${SDK_TAG}
git push origin ${SDK_TAG}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Build fails on macOS

3 participants