diff --git a/.build.yml b/.build.yml index b333392..85fa134 100644 --- a/.build.yml +++ b/.build.yml @@ -15,7 +15,7 @@ tasks: - test: | just test - build: | - tag=$(git describe --exact-match 2>/dev/null || true) + tag=$(git describe --exact-match --tags HEAD 2>/dev/null || true) if [ -z "$tag" ]; then echo "Current commit is not a tag; not building anything" exit 0