Simpliying download-latest.sh script #3014
Labels
maintenance
Issue about maintenance (CI, tests, refacto...)
tooling
Not directly project related, like Docker, Homebrew...
A huge part of download-latest.sh script is about ensuring we download the latest version of Meilisearch regarding semver and NOT regarding date.
For example, I release Meilisearch v2.1 and then 1 week later I release v1.39 (for security support), when using the script, I want to download v2.1 despite v1.39 has been released after.
Here is the related part of code
meilisearch/download-latest.sh
Lines 23 to 146 in c7caadb
But this part is useless because
Goal of the issues
Remove the complex part to download the
latest
release only using the GitHub API without caring of the returned version since thelatest
returned by GitHub is the one we want to provideRelated issues
Will fix #2613
The future PR will close #2699
The text was updated successfully, but these errors were encountered: