mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 05:38:47 +02:00

PR-URL: https://github.com/nodejs/node/pull/36121 Reviewed-By: Rich Trott <rtrott@gmail.com>
14 lines
275 B
Bash
14 lines
275 B
Bash
#!/bin/sh
|
|
|
|
set -x
|
|
set -e
|
|
|
|
# shellcheck disable=SC2154
|
|
[ -z "$SIGN" ] && \
|
|
echo "No SIGN environment var. Skipping codesign." >&2 && \
|
|
exit 0
|
|
|
|
# shellcheck disable=SC2154
|
|
productsign --sign "$SIGN" "$PKG" "$PKG"-SIGNED
|
|
# shellcheck disable=SC2154
|
|
mv "$PKG"-SIGNED "$PKG"
|