Welcome to mirror list, hosted at ThFree Co, Russian Federation.

osx-productsign.sh « tools - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b1daedcf7ee2284f8c6c358542ee540357c2fdae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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"