From a01e16792a73deb34c5bd0c4aa019c496642ee71 Mon Sep 17 00:00:00 2001 From: Kavish Devar Date: Mon, 10 Nov 2025 13:29:50 +0530 Subject: [PATCH] linux-rust: take version in justfile --- linux-rust/Justfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/linux-rust/Justfile b/linux-rust/Justfile index c12bb88..d98adcc 100644 --- a/linux-rust/Justfile +++ b/linux-rust/Justfile @@ -52,7 +52,7 @@ build-appimage: build prepare bundle echo "Done!" -tarball: +tarball version: #!/usr/bin/env bash set -euo pipefail cargo vendor vendor @@ -63,9 +63,8 @@ tarball: [source.vendored-sources] directory = "vendor" EOF - VERSION="${1:-local}" - TAR="librepods-v${VERSION}-source.tar.gz" + TAR="librepods-v{{version}}-source.tar.gz" tar -czf "dist/${TAR}" \ - --transform "s,^,librepods-v${VERSION}/," \ + --transform "s,^,librepods-v{{version}}/," \ Cargo.toml Cargo.lock src vendor .cargo assets flatpak echo "Created: dist/${TAR}"