From e0246993ae0ce7d3ce6433e45174077ee3a859d8 Mon Sep 17 00:00:00 2001 From: sandorex Date: Fri, 13 Sep 2024 18:22:56 +0200 Subject: [PATCH] chore: fix justfile tagging --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 1de0a25..b6bb645 100644 --- a/justfile +++ b/justfile @@ -3,7 +3,7 @@ default: # get cargo package version get-version: - @cargo pkgid | cut -d "@" -f2 + @cargo pkgid | perl -pe '($_)=/([0-9]+([.][0-9]+)+)/' # run cargo check test and clippy test: @@ -12,7 +12,7 @@ test: cargo clippy # tag current package version in git -git-tag: +tag: #!/usr/bin/env bash set -e