parent
3f64af43e1
commit
a16707b176
|
@ -12,6 +12,7 @@ IN: mason.release
|
||||||
sign-factor-app
|
sign-factor-app
|
||||||
archive-name {
|
archive-name {
|
||||||
[ make-archive ]
|
[ make-archive ]
|
||||||
|
[ sign-archive ]
|
||||||
[ upload ]
|
[ upload ]
|
||||||
[ save-archive ]
|
[ save-archive ]
|
||||||
[ notify-release ]
|
[ notify-release ]
|
||||||
|
|
|
@ -47,3 +47,18 @@ M:: windows sign-factor-app ( -- )
|
||||||
}
|
}
|
||||||
] dip make-factor-path suffix short-running-process
|
] dip make-factor-path suffix short-running-process
|
||||||
] each ;
|
] each ;
|
||||||
|
|
||||||
|
HOOK: sign-archive os ( path -- )
|
||||||
|
|
||||||
|
M: object sign-archive drop ;
|
||||||
|
|
||||||
|
! Sign the .dmg on macOS as well to avoid Gatekeeper marking
|
||||||
|
! the xattrs as quarantined.
|
||||||
|
! https://github.com/factor/factor/issues/1896
|
||||||
|
M: macosx sign-archive ( path -- )
|
||||||
|
${
|
||||||
|
"codesign" "--force" "--sign"
|
||||||
|
"Developer ID Application"
|
||||||
|
cert-path
|
||||||
|
} swap suffix
|
||||||
|
short-running-process ;
|
||||||
|
|
Loading…
Reference in New Issue