Skip to content

Commit

Permalink
build: fix version tag pickup (part 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
francisdb committed May 17, 2023
1 parent 28bdfdb commit 0b8c9d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ use crate::image::ImageDataJpeg;

use git_version::git_version;

// see https://github.com/fusion-engineering/rust-git-version/issues/21 for why the "--tags"
const GIT_VERSION: &str = git_version!(args=["--tags"]);
// see https://github.com/fusion-engineering/rust-git-version/issues/21 for why the ""
const GIT_VERSION: &str = git_version!(args = ["--tags", "--always", "--dirty=-modified"]);

fn main() {
let matches = Command::new("vpxtool")
Expand Down

0 comments on commit 0b8c9d9

Please sign in to comment.