feat: restore CI/release, prompt contracts, faster install (0.9.33)
Bring back Gitea CI + auto-publish; share release helpers; strengthen multi-turn tool/job prompts with a unit contract; ccache/make help and --release bootstrap. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# CI helper: publish release assets with RELEASE_TOKEN falling back to
|
||||
# GITHUB_TOKEN. Skips cleanly when neither is set.
|
||||
# scripts/ci_publish.sh FILE...
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
export GITEA_TOKEN="${RELEASE_TOKEN:-${GITEA_TOKEN:-${GITHUB_TOKEN:-}}}"
|
||||
if [[ -z "${GITEA_TOKEN}" ]]; then
|
||||
echo "::warning::no RELEASE_TOKEN / GITHUB_TOKEN; skip auto-release"
|
||||
exit 0
|
||||
fi
|
||||
[[ $# -gt 0 ]] || { echo "usage: $0 FILE..." >&2; exit 1; }
|
||||
export CI="${CI:-true}"
|
||||
exec bash "$ROOT/scripts/release.sh" "$@"
|
||||
Reference in New Issue
Block a user