fix: take the release-check version from the recipe argument
Test / test (push) Successful in 1m46s
Release / gates (push) Successful in 1m36s
Release / release (push) Successful in 39s

This commit is contained in:
2026-09-22 21:49:05 +02:00
parent e35b4bb90d
commit e3dda5e115
+1 -1
View File
@@ -120,7 +120,7 @@ release-check version:
#!/usr/bin/env perl #!/usr/bin/env perl
# The version arrives through the recipe interpolation: just does not hand # The version arrives through the recipe interpolation: just does not hand
# positional arguments to a shebang script's @ARGV. # 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}; $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}; my $branch = qx{git rev-parse --abbrev-ref HEAD};
chomp $branch; chomp $branch;