Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Farmware] Support specifying a specific Farmware Tools version #839

Closed
gabrielburnworth opened this issue Jul 11, 2019 · 0 comments
Closed

Comments

@gabrielburnworth
Copy link
Contributor

FarmBot OS version

8.0.0-rc26

Relevant code

release_url = "https://api.github.com/repos/FarmBot-Labs/farmware-tools/releases/latest"
# if version == "latest" do
# "https://api.github.com/repos/FarmBot-Labs/farmware-tools/releases/latest"
# else
# "https://api.github.com/repos/FarmBot-Labs/farmware-tools/releases/tags/#{version}"
# end

The latest release URL is temporarily hard-coded into the line above. Previously the manifest farmware_tools_version field either specified a release tag version (e.g., v2.0.0) or latest. Now that the farmware_tools_version_requirement field is a version requirement (e.g., >=2.0.0), FarmBot OS needs to pick the latest release tag that satisfies the version requirement specified in the manifest.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants