-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Tag/version validation #106
Comments
Maybe. Thus sounds harsh but maybe its for the best. It still works though, and the correct refs is installed. Just a mismatch in the spec and the tag. Maybe this outlines a problem: we must sync the version. I thought about skipping the version in the spec, and only use tags, but then we'd lose version information in branches... |
For git checkouts we could still recover it from |
In #341 we agreed to only issue a warning in case git tag and SPEC version mismatch. This has already been merged. |
Following will/crystal-pg#41 I was thinking, maybe shards should refuse to install (during
shards install
) when after thegit checkout $version
theversion
field in theshard.yml
doesn't match the earlier$version
? That way a shard that has a mismatch there would be unusable for that version. The validation would only happen for dependencies where theversion
field in thedependencies
section of the current project is specified of course.The text was updated successfully, but these errors were encountered: