mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
18 lines
370 B
Bash
Executable File
18 lines
370 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
cd "$(git rev-parse --show-toplevel)"
|
|
|
|
codesign -s $AC_APPLICATION_IDENTITY -f -v --timestamp --options runtime $1
|
|
|
|
config="$(mktemp -d)/gon.json"
|
|
jq -r --null-input --arg path "$(pwd)/$1" '{
|
|
"notarize": [
|
|
{
|
|
"path": $path,
|
|
"bundle_id": "com.coder.cli"
|
|
}
|
|
]
|
|
}' > $config
|
|
gon $config
|