From e3dda5e11588c3b942dd776a12aa142e5f67631c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Balv=C3=ADn?= Date: Tue, 22 Sep 2026 21:49:05 +0200 Subject: [PATCH] fix: take the release-check version from the recipe argument --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 7c56dab..ddfd677 100644 --- a/justfile +++ b/justfile @@ -120,7 +120,7 @@ release-check version: #!/usr/bin/env perl # The version arrives through the recipe interpolation: just does not hand # positional arguments to a shebang script's @ARGV. - my $version = q{ {{version}} }; + my $version = "{{version}}"; $version =~ m{\Av?\d+\.\d+\.\d+\z} or die qq{usage: just release-check X.Y.Z\n}; my $branch = qx{git rev-parse --abbrev-ref HEAD}; chomp $branch;