Skip to content

Commit a01e167

Browse files
committed
linux-rust: take version in justfile
1 parent 253ed65 commit a01e167

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

linux-rust/Justfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ build-appimage: build prepare bundle
5252
echo "Done!"
5353

5454

55-
tarball:
55+
tarball version:
5656
#!/usr/bin/env bash
5757
set -euo pipefail
5858
cargo vendor vendor
@@ -63,9 +63,8 @@ tarball:
6363
[source.vendored-sources]
6464
directory = "vendor"
6565
EOF
66-
VERSION="${1:-local}"
67-
TAR="librepods-v${VERSION}-source.tar.gz"
66+
TAR="librepods-v{{version}}-source.tar.gz"
6867
tar -czf "dist/${TAR}" \
69-
--transform "s,^,librepods-v${VERSION}/," \
68+
--transform "s,^,librepods-v{{version}}/," \
7069
Cargo.toml Cargo.lock src vendor .cargo assets flatpak
7170
echo "Created: dist/${TAR}"

0 commit comments

Comments
 (0)