codesign apps and dmg in macos

This commit is contained in:
Luis Ángel San Martín
2019-09-01 14:57:45 +02:00
parent 09d2266c9f
commit 7d67a79e26
4 changed files with 14 additions and 1 deletions

View File

@ -45,6 +45,10 @@ jobs:
find . \( -name '*.h' -or -name '*.cpp' -or -name '*.c' -or -name '*.mm' -or -name '*.m' \) -print0 | xargs -0 clang-format -style=file -i
if [ "$(git diff $(Build.SourceVersion))" != "" ]; then exit 1; fi
displayName: 'Check format'
- task: InstallAppleCertificate@2
inputs:
certSecureFile: 'developerID_application.p12'
certPwd: $(P12Password)
- script: |
cd $(Build.SourcesDirectory)
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"