Skip to content

Allow caret syntax in version file#402

Open
amake wants to merge 1 commit into
subosito:mainfrom
amake:allow-caret-syntax-version
Open

Allow caret syntax in version file#402
amake wants to merge 1 commit into
subosito:mainfrom
amake:allow-caret-syntax-version

Conversation

@amake

@amake amake commented Jun 5, 2026

Copy link
Copy Markdown

Policy: Pull requests to enforce SHA pinning are not supported in this repository and will be closed. For context on why we do not use this feature, please refer to #393.

  • This pull request isn't about enforcing SHA pinning.

The readme says:

For flutter-version-file to work, you need to have the exact Flutter version defined in your pubspec.yaml

And it points out that e.g. ">= 3.19.0 <4.0.0" will not work. However it seems trivial to support a caret-syntax version (this is what I use in my app) by simply taking the lower bound.

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.

1 participant