Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

Release promote: a release may carry newer skills and docs than its candidate (Shane, 11-11: "promote skills to the latest possible"). No build of the shipped binaries reads skills/ (the raea-skills pin) or docs/: release.sh packs the skills the release's commit pins, and its skills-passed line and check-cli hold them to the candidate's binaries. So v0.1.1 can go from rc5's binaries with the skills that teach the feed's sharing tools

shinyobjectzab904156c672
diff --git a/tools/release/promoted-from.sh b/tools/release/promoted-from.sh
index bc32590d..fe48621f 100755
--- a/tools/release/promoted-from.sh
+++ b/tools/release/promoted-from.sh
@@ -15,9 +15,12 @@ set -euo pipefail
die() { echo "promoted-from: $*" >&2; exit 1; }
# what a candidate and its release may differ in: nothing a cargo build of the shipped binaries reads (engine/cli's
-# tests include tools/release.sh, and tests aren't in a release build)
+# tests include tools/release.sh and an sdk/guides page, and tests aren't in a release build). The skills (skills/, the
+# raea-skills pin) and docs/ are read by no build either (11-11, Shane: "promote skills to the latest possible"):
+# release.sh packs the skills the release's commit pins, and the skills gate (its skills-passed line) and check-cli
+# hold them to the candidate's binaries, so newer skills go out on a candidate's binaries
SAME=(':(exclude)README.md' ':(exclude).github' ':(exclude)tools/release.sh' ':(exclude)tools/release-check.sh'
- ':(exclude)tools/release' ':(exclude)tools/agents' ':(exclude)tools/raea-app')
+ ':(exclude)tools/release' ':(exclude)tools/agents' ':(exclude)tools/raea-app' ':(exclude)skills' ':(exclude)docs')
fetch_tag() { git cat-file -e "refs/tags/$1" 2>/dev/null || git fetch -q --depth=1 origin "refs/tags/$1:refs/tags/$1"; }
differ() { git diff --name-only "$1^{commit}" "$2^{commit}" -- . "${SAME[@]}"; }