Skip to content

Commit 7e851aa

Browse files
committed
Release: codesign standalone macOS fips-pad artifact
1 parent 3cc39a0 commit 7e851aa

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,12 @@ jobs:
231231
fi
232232
echo "Signing with: $IDENTITY"
233233
234+
# Sign the universal binary directly so the standalone artifact
235+
# has a code signature as well (Developer ID when configured,
236+
# ad-hoc signature otherwise).
237+
codesign --force --timestamp --identifier "$MACOS_BUNDLE_ID" \
238+
--options runtime --sign "$IDENTITY" "$BINARY"
239+
234240
# Create .app bundle
235241
APP_DIR="$DIST/FIPSPad.app/Contents"
236242
mkdir -p "$APP_DIR/MacOS" "$APP_DIR/Resources"
@@ -451,7 +457,7 @@ jobs:
451457
452458
Attached artifacts:
453459
454-
- `fips-pad` — Raw macOS universal CLI binary (unsigned installer wrapper not required).
460+
- `fips-pad` — Raw macOS universal CLI binary (Developer ID signed when credentials are configured; ad-hoc signed otherwise).
455461
- `fipspad_darwin_universal.pkg` — macOS installer package (signed/notarized when credentials are configured).
456462
- `fipspad_linux_amd64` — Linux amd64 binary.
457463
- `fipspad_windows_amd64.exe` — Windows amd64 executable (signed when credentials are configured).

0 commit comments

Comments
 (0)