meilisearch/.github/workflows
bors[bot] c91bfeaf15
Merge #3467
3467: Identify builds git tagged with `prototype-...` in CLI and analytics r=curquiza a=dureuill

# Pull Request

## What does this PR do?

- Parses the last git tag to extract a prototype name if:
  - Current build uses the prototype tag (not after the tag) precisely
  - The prototype tag name respects the following conditions:
    1. starts with `prototype-`
    2. ends with a number
    3. the hyphen-separated segment right before the number is not a number (required to reject commits after the tag).
- Display the prototype name in the launch summary in the CLI
- Send the prototype name to analytics if any
- Update prototypes instructions in CONTRIBUTING.md

|`VERGEN_GIT_SEMVER_LIGHTWEIGHT` value | Prototype |
|---|---|
| `Some("prototype-geo-bounding-box-0-139-gcde89018")` | `None` (does not end with a number) |
| `Some("prototype-geo-bounding-box-0-139-89018")` | `None` (before the last segment is a number) |
| `Some("prototype-geo-bounding-box-0")` | `Some("prototype-geo-bounding-box-0")` |
| `Some("prototype-geo-bounding-box")` | `None` (does not end with a number") |
| `Some("geo-bounding-box-0")` | `None` (does not start with "prototype") |
| `None` | `None` | 

Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2023-02-20 09:27:51 +00:00
..
create-issue-dependencies.yml Add comment information about the cron job 2023-02-02 15:58:03 +01:00
flaky.yml fix cargo flaky 2023-01-17 11:03:44 +01:00
latest-git-tag.yml Add missingneeds: to the git latest tag workflow 2023-01-12 15:04:11 +01:00
manual_benchmarks.yml Bump taiki-e/install-action from 1 to 2 2023-01-01 10:02:00 +00:00
milestone-workflow.yml Remove core mention 2022-12-13 17:34:43 +01:00
publish-binaries.yml Bump svenstaro/upload-release-action from 2.3.0 to 2.4.0 2023-01-18 11:02:44 +00:00
publish-deb-brew-pkg.yml Bump svenstaro/upload-release-action from 2.3.0 to 2.4.0 2023-01-18 11:02:44 +00:00
publish-docker-images.yml Do not escape tag name 2023-02-16 10:53:14 +01:00
push_benchmarks_indexing.yml Bump taiki-e/install-action from 1 to 2 2023-01-01 10:02:00 +00:00
push_benchmarks_search_geo.yml Bump taiki-e/install-action from 1 to 2 2023-01-01 10:02:00 +00:00
push_benchmarks_search_songs.yml Bump taiki-e/install-action from 1 to 2 2023-01-01 10:02:00 +00:00
push_benchmarks_search_wiki.yml Bump taiki-e/install-action from 1 to 2 2023-01-01 10:02:00 +00:00
rust.yml Add tests with rust nightly in CI 2023-02-14 15:33:12 +00:00
uffizzi-build.yml Integrate Uffizzi 2023-02-01 13:06:27 +05:30
uffizzi-preview-deploy.yml Integrate Uffizzi 2023-02-01 13:06:27 +05:30
update-cargo-toml-version.yml update our CI scripts accordingly 2023-02-15 13:56:24 +01:00