Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 623477019
Change-Id: Icb85feb2429a9468da59724759bb941fb8fbcd03
  • Loading branch information
cblichmann authored and copybara-github committed Apr 10, 2024
1 parent e971e9d commit 858a219
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions kokoro/dmg/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ build_dir=${PWD}/build
bindiff_pkg_root=${PWD}/packaging/dmg/Package
app_dir=${bindiff_pkg_root}/Applications/BinDiff

notarize=$KOKORO_BLAZE_DIR/notarize/blaze-bin/devtools/kokoro/notarizationproxy/client/cmd/notarize

mkdir -p "${build_dir}"

# Verify/extract dependencies
Expand Down Expand Up @@ -147,10 +149,8 @@ if [[ $1 == release ]]; then
zip -q --symlinks -r \
"${build_dir}/BinDiff.zip" \
"${app_dir}/BinDiff.app"
python \
"$KOKORO_PIPER_DIR/google3/apps/drive/fs/distribution/osx/notarize.py" \
--file=${build_dir}/BinDiff.zip \
--primary-bundle-id=com.google.bindiff
"${notarize}" \
--file=${build_dir}/BinDiff.zip

echo "Stapling..."
xcrun stapler staple -v "${app_dir}/BinDiff.app"
Expand Down Expand Up @@ -182,10 +182,8 @@ if [[ $1 == release ]]; then
"${build_dir}/bindiff.pkg"

echo "Notarization..."
python \
"$KOKORO_PIPER_DIR/google3/apps/drive/fs/distribution/osx/notarize.py" \
--file=${build_dir}/bindiff.pkg \
--primary-bundle-id=com.google.bindiff
"${notarize}" \
--file=${build_dir}/bindiff.pkg

echo "Stapling..."
xcrun stapler staple -v "${build_dir}/bindiff.pkg"
Expand Down

0 comments on commit 858a219

Please sign in to comment.