Commit f65c123d authored by Emmanuel Raviart's avatar Emmanuel Raviart

Use CARGO_PKG_VERSION for version.

parent dc6bda7b
Pipeline #109093 passed with stage
in 4 minutes and 28 seconds
......@@ -11,7 +11,7 @@ use std::process::Command;
fn main() {
let matches = App::new("Tricoteuses API Assemblée")
.version("1.0")
.version(env!("CARGO_PKG_VERSION"))
.author("Emmanuel Raviart <emmanuel@raviart.com>")
.about("GraphQL API to access open data of French Assemblée nationale")
.arg(
......
......@@ -14,7 +14,7 @@ use std::path::Path;
fn main() {
let matches = App::new("Tricoteuses API Assemblée")
.version("1.0")
.version(env!("CARGO_PKG_VERSION"))
.author("Emmanuel Raviart <emmanuel@raviart.com>")
.about("GraphQL API to access open data of French Assemblée nationale")
.arg(
......
......@@ -16,7 +16,7 @@ use std::process::Command;
fn main() {
let matches = App::new("Tricoteuses API Assemblée")
.version("1.0")
.version(env!("CARGO_PKG_VERSION"))
.author("Emmanuel Raviart <emmanuel@raviart.com>")
.about("GraphQL API to access open data of French Assemblée nationale")
.arg(
......
......@@ -541,7 +541,7 @@ fn post_graphql_handler(
fn main() {
let matches = App::new("Tricoteuses API Assemblée")
.version("1.0")
.version(env!("CARGO_PKG_VERSION"))
.author("Emmanuel Raviart <emmanuel@raviart.com>")
.about("GraphQL API to access open data of French Assemblée nationale")
.arg(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment