Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
version command returns build time VERSION env or Cargo.toml version (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianfilip authored Feb 18, 2024
1 parent 89526d6 commit a38eeb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ enum Command {
}

#[derive(Parser, Debug)]
#[command(author, version, about, long_about, rename_all = "kebab-case")]
#[command(author, version=option_env!("VERSION").unwrap_or(env!("CARGO_PKG_VERSION")), about, long_about, rename_all = "kebab-case")]
/// Command line interface for OSS version of Golem.
///
/// For Golem Cloud client see golem-cloud-cli instead: https://github.com/golemcloud/golem-cloud-cli
Expand Down

0 comments on commit a38eeb6

Please sign in to comment.