mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-01 10:49:02 +00:00
linux-rust: take version in justfile
This commit is contained in:
@@ -52,7 +52,7 @@ build-appimage: build prepare bundle
|
|||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
|
||||||
|
|
||||||
tarball:
|
tarball version:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
cargo vendor vendor
|
cargo vendor vendor
|
||||||
@@ -63,9 +63,8 @@ tarball:
|
|||||||
[source.vendored-sources]
|
[source.vendored-sources]
|
||||||
directory = "vendor"
|
directory = "vendor"
|
||||||
EOF
|
EOF
|
||||||
VERSION="${1:-local}"
|
TAR="librepods-v{{version}}-source.tar.gz"
|
||||||
TAR="librepods-v${VERSION}-source.tar.gz"
|
|
||||||
tar -czf "dist/${TAR}" \
|
tar -czf "dist/${TAR}" \
|
||||||
--transform "s,^,librepods-v${VERSION}/," \
|
--transform "s,^,librepods-v{{version}}/," \
|
||||||
Cargo.toml Cargo.lock src vendor .cargo assets flatpak
|
Cargo.toml Cargo.lock src vendor .cargo assets flatpak
|
||||||
echo "Created: dist/${TAR}"
|
echo "Created: dist/${TAR}"
|
||||||
|
|||||||
Reference in New Issue
Block a user