Files
vectorcraft/packaging/linux/nightly-arch-tar.sh
T
Dylan M. Taylor 8b0b808857 packaging(linux): support co-installable nightly packages (#9233)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

gate test shard 1/5 (and the Sonar scan that reads its coverage) fails on crates/ui-egui/src/doc_windows/tests.rs `a_document_made_current_in_presentation_mode_comes_to_the_front_after_it`, which main fails too (CI run 45581083304); this PR touches no ui-egui code.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-25 06:01:37 -06:00

21 lines
688 B
Bash
Executable File

#!/usr/bin/env bash
# Stage the VectorCraft Nightly-only handoff for the Arch packager.
set -euo pipefail
here="$(cd "$(dirname "$0")" && pwd)"
source_tree="$1"
work="$2"
destination="$3"
basename="$4"
stage="$work/$basename"
mkdir -p "$work"
cp -R "$source_tree" "$stage"
mkdir "$stage/bin/.vectorcraft-nightly"
# The GUI goes into the hidden folder; `bin/vectorcraft` below is the launcher that starts it.
mv "$stage/bin/vectorcraft-bin" "$stage/bin/.vectorcraft-nightly/vectorcraft-bin"
cp "$here/nightly-launch.sh" "$stage/bin/vectorcraft"
chmod 755 "$stage/bin/vectorcraft"
tar -C "$work" -czf "$destination/$basename.tar.gz" "$basename"
echo "wrote $destination/$basename.tar.gz"