Skip to content

Commit e6b863b

Browse files
committed
fix(release): forward package field allowlist
1 parent 0e1a355 commit e6b863b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/run-official-goreleaser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def run_helper(arguments: list[str]) -> None:
9494
"LC_ALL": "C",
9595
"LOGNAME": account.pw_name,
9696
"MAC_RELEASE_MANIFEST": manifest,
97+
"MAC_RELEASE_OP_FIELDS": " ".join(sorted(PACKAGE_FIELDS)),
9798
"PATH": SYSTEM_PATH,
9899
"SHELL": "/bin/bash",
99100
"TERM": "xterm-256color",

scripts/test-release-local.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ if declare -F security >/dev/null || [[ -n "${ATTACKER_SECRET+x}" || -n "${PYTHO
837837
fi
838838
[[ "$PATH" == /opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin ]]
839839
[[ "$HOME" == /* && "$TMPDIR" == /tmp && "$LC_ALL" == C && "$TZ" == UTC ]]
840+
[[ "${MAC_RELEASE_OP_FIELDS:-}" == NOTARYTOOL_KEYCHAIN_PROFILE ]]
840841
if [[ "$1" == draft ]]; then
841842
[[ "${GITHUB_TOKEN:-}" == test-token ]]
842843
else

0 commit comments

Comments
 (0)