mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Notarize macos dmgs
This commit is contained in:
parent
d7eaf970b7
commit
2761a312d7
@ -150,6 +150,13 @@ jobs:
|
|||||||
qmake
|
qmake
|
||||||
make check TESTARGS="-maxwarnings 100000"
|
make check TESTARGS="-maxwarnings 100000"
|
||||||
displayName: 'Build and run tests'
|
displayName: 'Build and run tests'
|
||||||
|
- script: |
|
||||||
|
SKIP_CODESIGN="$(tr [A-Z] [a-z] <<< "$IS_FORK")"
|
||||||
|
if [ "$SKIP_CODESIGN" = false ]; then
|
||||||
|
xcrun notarytool submit *.dmg --apple-id $(AppleId) --team-id $(TeamId) --password $(AppPassword) --wait
|
||||||
|
xcrun stapler staple *.dmg
|
||||||
|
fi
|
||||||
|
displayName: 'Notarize'
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
inputs:
|
inputs:
|
||||||
contents: '*.dmg'
|
contents: '*.dmg'
|
||||||
@ -200,6 +207,13 @@ jobs:
|
|||||||
qmake
|
qmake
|
||||||
make check TESTARGS="-maxwarnings 100000"
|
make check TESTARGS="-maxwarnings 100000"
|
||||||
displayName: 'Build and run tests'
|
displayName: 'Build and run tests'
|
||||||
|
- script: |
|
||||||
|
SKIP_CODESIGN="$(tr [A-Z] [a-z] <<< "$IS_FORK")"
|
||||||
|
if [ "$SKIP_CODESIGN" = false ]; then
|
||||||
|
xcrun notarytool submit *.dmg --apple-id $(AppleId) --team-id $(TeamId) --password $(AppPassword) --wait
|
||||||
|
xcrun stapler staple *.dmg
|
||||||
|
fi
|
||||||
|
displayName: 'Notarize'
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
inputs:
|
inputs:
|
||||||
contents: '*.dmg'
|
contents: '*.dmg'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user