meilisearch/MeiliSearch
`latest` tag update: do it only if the GitHub release is considered as the latest one
Aperta
#3177 aperta il 1 dic 2022
bugcontribution acceptedgithub actionshelp wantedmaintenanceOLD
Metriche repository
- Star
- (57.572 stelle)
- Metriche merge PR
- (Merge medio 11g 20h) (41 PR mergiate in 30 g)
Descrizione
Currently our current CI (to move the latest tag to the appropriate commit) will push the latest tag to the latest release in term of times and not in term of version.
For example:
- we release v1.10.0 ->
latesttag will correspond to thev1.10.0tag - then, later, we release v1.1.12 ->
latesttag will now correspond to thev1.1.12tag despite this is not the latest release,v1.10.0is!
We need to run the CI only if the release is considered as the latest one by GitHub.
The latest release is defined this way on GitHub when creating a new GitHub release.