Skip to content

Conversation

@theletterf
Copy link
Contributor

This replaces the version detection method for the client libs added to the updatecli config in #2310, as they seem to pick up 8.x instead of 9.x versions (example is #2317).

@theletterf theletterf self-assigned this Dec 5, 2025
@theletterf theletterf requested a review from a team as a code owner December 5, 2025 17:15
@theletterf theletterf requested a review from reakaleek December 5, 2025 17:15
@theletterf theletterf added the automation packaging, ci/cd. label Dec 5, 2025
@theletterf theletterf requested a review from lcawl December 5, 2025 17:16
Copy link
Contributor

@lcawl lcawl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! It would be nice in the long term if the tooling could respect the "latest" tag (e.g. https://github.com/elastic/elasticsearch-rs/releases/latest)

@theletterf
Copy link
Contributor Author

@lcawl Fix works I think: #2317

If we want to transform the alpha version to something else, we could modify the transform block for each to do this:

 latest-elasticsearch-client-rust-version:
    name: Get latest release version for Elasticsearch Rust Client
    kind: githubrelease
    transformers:
      - trimprefix: v
      - replacer:
          from: "-alpha."
          to: "a"

This would transform:

  • v9.1.0-alpha.1 → 9.1.0-alpha.1 (after trimprefix)
  • 9.1.0-alpha.1 → 9.1.0a1 (after replacer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation packaging, ci/cd.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants