mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-01-28 22:01:50 +00:00
linux-rust: take version in justfile
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user