Repository navigation
Conversation
Pushing a v* tag now builds and publishes a GitHub Release carrying: - fully static musl tarballs for x86_64 and aarch64, each holding the binary, README, both license files and the embedded font's license; - macOS tarballs for Intel and Apple Silicon; - a curl | sh installer; - native .deb, .rpm and .apk packages built from the static binaries; - sha256.sum and mapshoot-packages.sha256 checksums, a CycloneDX SBOM and SLSA build provenance attestations. cargo-dist has no built-in deb/rpm/apk support, so packaging/build-packages.sh runs as an extra-artifacts step in the global build phase, where the local artifacts are already staged in target/distrib/. It fetches a pinned, checksum-verified nfpm and drives packaging/nfpm.yaml for both architectures. The Linux binaries are statically linked against musl, so one artifact per architecture runs on glibc distributions and Alpine alike. The packages therefore declare no runtime dependencies and there are no -gnu builds. Also adds a man page (docs/mapshoot.1) installed by all three package formats, a Debian machine-readable copyright covering the dual license and the marker font's OFL-1.1, and repository/homepage metadata.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pushing a
v*tag builds and publishes a GitHub Release via cargo-dist (dist-workspace.toml, generated.github/workflows/release.yml).Artifacts per release
mapshoot-{x86_64,aarch64}-unknown-linux-musl.tar.xzOFL.txtmapshoot-{x86_64,aarch64}-apple-darwin.tar.xzmapshoot-amd64.deb/mapshoot-arm64.deb,.rpm,.apkmapshoot-installer.shcurl | shinstallersha256.sum,mapshoot-packages.sha256,mapshoot.cdx.xmlDesign notes
mapshoot's only native dependency isring; trust roots are bundled throughwebpki-rootsand the marker font is compiled in, so a static musl binary has no runtime dependencies and runs on glibc distributions and Alpine alike. One artifact per architecture replaces a glibc-version matrix, and there are no-gnubuilds.packaging/build-packages.shruns as anextra-artifactsbuild step in the global build phase, where dist has already staged the local artifacts intotarget/distrib/. It fetches a pinned, sha256-verified nfpm 2.48.0 and drivespackaging/nfpm.yaml.ubuntu-22.04andubuntu-22.04-arm; no cross-compilation is involved.OFL.txt(required by OFL 1.1).[profile.dist]inheritsrelease, so release artifacts keep the existinglto/strip/codegen-unitssettings.Verification
Built a real x86_64 musl artifact with
dist buildand ran the packaging pipeline against it:dist planlists all four archives, six packages, the checksums, SBOM and installer;dist generateis idempotent.LICENSE-MIT,LICENSE-APACHEandOFL.txt.Dependsfield; contents are exactly/usr/bin/mapshoot,man1/mapshoot.1, README, copyright and the licenses; it extracts, the binary runs (mapshoot 0.1.0), and the man page renders.rockylinux:9;Requiresare only the standardrpmlib(...)markers.apk add --allow-untrustedinstalls and runs onalpine:3.22; dependency list is empty.Known caveats
.apkand the macOS binaries are unsigned. macOS downloads will be quarantined until Developer ID signing and notarization are added; the.apkneeds--allow-untrusted.docs/mapshoot.1and the CLI's embeddedHELPstring describe the same flags by hand and can drift.First release is
git tag v0.1.0 && git push origin v0.1.0.