Skip to content

Commit 5c87bb2

Browse files
committed
sign dmg
1 parent b370aae commit 5c87bb2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ jobs:
141141
-imagekey zlib-level=9 \
142142
"$APP_NAME-$VERSION.dmg"
143143
144+
# Sign the DMG
145+
codesign --force --options runtime --timestamp \
146+
--sign "Developer ID Application: ${{ secrets.DEVELOPER_ID }}" \
147+
"$APP_NAME-$VERSION.dmg"
148+
codesign --verify --verbose=2 "$APP_NAME-$VERSION.dmg"
149+
144150
shasum -a 256 "$APP_NAME-$VERSION.zip" > "$APP_NAME-$VERSION.zip.sha256"
145151
shasum -a 256 "$APP_NAME-$VERSION.dmg" > "$APP_NAME-$VERSION.dmg.sha256"
146152

0 commit comments

Comments
 (0)