diff --git a/justfile b/justfile index 8d261dde..e14d5223 100644 --- a/justfile +++ b/justfile @@ -2,7 +2,7 @@ DOCKER_REPO := "daschswiss/dsp-meta" CARGO_VERSION := `cargo metadata --format-version=1 --no-deps | jq --raw-output '.packages[].version'` COMMIT_HASH := `git log --pretty=format:'%h' -n 1` GIT_TAG := `git describe --tags --exact-match 2>/dev/null || true` -IMAGE_TAG := if GIT_TAG == "" { CARGO_VERSION + "-" + COMMIT_HASH } else { GIT_TAG } +IMAGE_TAG := if GIT_TAG == "" { CARGO_VERSION + "-" + COMMIT_HASH } else { CARGO_VERSION } DOCKER_IMAGE := DOCKER_REPO + ":" + IMAGE_TAG # List all recipes