meilisearch/MeiliSearch

`latest` tag update: do it only if the GitHub release is considered as the latest one

开放

#3,177 创建于 2022年12月1日

 (2 条评论) (0 个反应) (0 位负责人)Rust (2,542 个派生)batch import
bugcontribution acceptedgithub actionshelp wantedmaintenanceOLD

仓库指标

星标
 (57,572 个星标)
PR 合并指标
 (平均合并 11天 20小时) (30 天内合并 41 个 PR)

描述

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 -> latest tag will correspond to the v1.10.0 tag
  • then, later, we release v1.1.12 -> latest tag will now correspond to the v1.1.12 tag despite this is not the latest release, v1.10.0 is!

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.

贡献者指南