elastic / elasticsearch-rs

Official Elasticsearch Rust Client
https://www.elastic.co/guide/en/elasticsearch/client/rust-api/current/index.html
Apache License 2.0
695 stars 70 forks source link

Add update-version task #172

Closed russcam closed 3 years ago

russcam commented 3 years ago

This commit adds an update version task to cargo make.

The task is implemented as a rust script to work cross-platform and to allow retrieving the current version from Cargo.toml package version, for replacement in docs. It assumes that the version to be updated across all docs is the same.