The public tree and its history contain only the listed paths. Earlier projection history remains preserved internally. Source-Sha: 913fde029b935671833254797f0f20f1eb9fabba Policy-Sha: 913fde029b935671833254797f0f20f1eb9fabba Tree-Digest: 180ae530c1058a2a5c89837bdce2d323ae83e669e38590ca72e75b8d92b7262f
8 lines
337 B
Shell
Executable file
8 lines
337 B
Shell
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
if [ "$#" -ne 5 ]; then
|
|
echo "usage: $0 <actions-artifacts> <candidate-dir> <version> <source-sha> <tag>" >&2
|
|
exit 2
|
|
fi
|
|
: "${GITHUB_RUN_ID:?GITHUB_RUN_ID is required for candidate provenance}"
|
|
exec python3 "$(dirname "$0")/release-contract.py" assemble "$2" "$3" "$4" "$5" "$1" "$GITHUB_RUN_ID"
|