#!/usr/bin/env bash # Close the build record when the run ends without publishing (skip-publish): # checks and build passed, nothing was allocated. Usage: finish-build.sh [outcome] [reason] set -euo pipefail . "$(dirname "$0")/lib.sh" require_env APP_ID DEALSAGE_FUNCTIONS_URL PUBLISH_TOKEN SUPABASE_ANON_KEY step_done publish skipped "Checks and build only (skip-publish); nothing was published" report_build_finish "${1:-checked}" "${2:-}"