Skip to content

fix: restrict install.sh to versions >=2.0.0#87

Merged
liamcervante merged 1 commit intomainfrom
fix/install-script-v2-only
May 7, 2026
Merged

fix: restrict install.sh to versions >=2.0.0#87
liamcervante merged 1 commit intomainfrom
fix/install-script-v2-only

Conversation

@liamcervante
Copy link
Copy Markdown
Collaborator

Summary

This repo only publishes v2.0.0+ binaries; older releases stay in infracost/infracost. Reject any explicit INFRACOST_VERSION whose major version is <2 so users who pin to a 0.x tag get a clear error instead of a 404 from the downloads endpoint. latest remains the default and is unaffected.

This script lives in the new CLI repo, which only publishes v2.0.0+. Reject any explicit INFRACOST_VERSION whose major version is <2, with a pointer to infracost/infracost for older releases. "latest" remains the default and is unaffected.
@liamcervante liamcervante requested a review from a team May 7, 2026 06:56
@liamcervante liamcervante merged commit c4d4f46 into main May 7, 2026
5 checks passed
@liamcervante liamcervante deleted the fix/install-script-v2-only branch May 7, 2026 08:57
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.

2 participants