-
Notifications
You must be signed in to change notification settings - Fork 1
Before generate a mainnet release x.y.z we should che if testnet release x.y.z tag is the same as mainnet. #51
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: main
Are you sure you want to change the base?
Conversation
ysibirski
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.
LGTM
drgora
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.
Thanks for the change, which looks good to me. But on this repo we use the mainnet tag, and not zkverify, for the mainnet tags.
| fn_die "ERROR: Runtime in the tag (${tag_runtime}) does not match the expected runtime (${runtime}). Exiting ..." | ||
| fi | ||
|
|
||
| if [[ "${runtime}" = "zkverify" && -z "${version_ext}" ]]; then |
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.
| if [[ "${runtime}" = "zkverify" && -z "${version_ext}" ]]; then | |
| if [[ "${runtime}" = "mainnet" && -z "${version_ext}" ]]; then |
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.
Nice catch.... I've just copied and pasted it without brain 😄
| fi | ||
|
|
||
| if [[ "${runtime}" = "zkverify" && -z "${version_ext}" ]]; then | ||
| log_info "INFO: checking that zkverify and volta production release tags point to the same commit..." |
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.
| log_info "INFO: checking that zkverify and volta production release tags point to the same commit..." | |
| log_info "INFO: checking that mainnet and volta production release tags point to the same commit..." |
| log_info "INFO: checking that zkverify and volta production release tags point to the same commit..." | ||
| volta_tag="rt-volta-${version}" | ||
| if [ "$(git_tag_commit "${github_tag}")" != "$(git_tag_commit "${volta_tag}")" ]; then | ||
| fn_die "ERROR: commit pointed to by zkverify tag (${github_tag}) does not match commit of volta tag (${volta_tag}). Exiting..." |
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.
| fn_die "ERROR: commit pointed to by zkverify tag (${github_tag}) does not match commit of volta tag (${volta_tag}). Exiting..." | |
| fn_die "ERROR: commit pointed to by mainnet tag (${github_tag}) does not match commit of volta tag (${volta_tag}). Exiting..." |
…ase x.y.z tag is the same as mainnet.
20ae3e0 to
a86e97f
Compare
No description provided.