- Flattened nested bootupd/bootupd/ structure to root level - Moved all core project files to root directory - Added proper Debian packaging structure (debian/ directory) - Created build scripts and CI configuration - Improved project organization for CI/CD tools - All Rust source, tests, and configuration now at root level - Added GitHub Actions workflow for automated testing - Maintained all original functionality while improving structure
14 lines
469 B
Bash
Executable file
14 lines
469 B
Bash
Executable file
#!/bin/bash
|
|
# Prepare a release
|
|
set -euo pipefail
|
|
cargo publish --dry-run
|
|
name=$(cargo read-manifest | jq -r .name)
|
|
version=$(cargo read-manifest | jq -r .version)
|
|
commit=$(git rev-parse HEAD)
|
|
|
|
# Generate a vendor tarball of sources to attach to a release
|
|
# in order to support offline builds.
|
|
vendor_dest=target/${name}-${version}-vendor.tar.zstd
|
|
cargo vendor-filterer --prefix=vendor --format=tar.zstd "${vendor_dest}"
|
|
|
|
echo "Prepared ${version} at commit ${commit}"
|