feat: Hardcode version into install scripts at release time.#20986
Merged
charlielye merged 1 commit intonextfrom Mar 4, 2026
Merged
feat: Hardcode version into install scripts at release time.#20986charlielye merged 1 commit intonextfrom
charlielye merged 1 commit intonextfrom
Conversation
ludamad
approved these changes
Mar 3, 2026
Collaborator
|
LGTM thanks for doing this! |
You can now install at a specific version with the less fiddly e.g.: ``` bash -i <(curl -sL https://install.aztec-labs.com/0.0.1-commit.c0b82b2) ``` * To avoid the fiddly requirement of setting both the `VERSION` env var, while also putting the version in the curl path, we now hardcode it at release time into the script. * The root installer, when manually uploaded, then sets the VERSION to default to nightly (if not given). * Carefully crafted banner and text to fit on 80 char width terminals. Because it's important we support those. * We add a `prune` command to aztec-up to remove all but current version. I may also have updated the ascii art a bit. I doubt I'll be allowed to keep it because it's so OUTRAGEOUSLY 80's neon cyberpunk. But it's trivial to swap the banner if want something more brand fitting.
f2c88b9 to
e44fe38
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You can now install at a specific version with the less fiddly e.g.:
VERSIONenv var, while also putting the version in the curl path, we now hardcode it at release time into the script.prunecommand to aztec-up to remove all but current version.I may also have updated the ascii art a bit. I doubt I'll be allowed to keep it because it's so OUTRAGEOUSLY 80's neon cyberpunk. But it's trivial to swap the banner if want something more brand fitting.