mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Set MACOSX_DEPLOYMENT_TARGET explicitly in macos builds so we can support older verions
This commit is contained in:
parent
e7c8d8449b
commit
9deba04a9c
@ -171,6 +171,7 @@ jobs:
|
|||||||
certSecureFile: 'developerID_application.p12'
|
certSecureFile: 'developerID_application.p12'
|
||||||
certPwd: $(P12Password)
|
certPwd: $(P12Password)
|
||||||
- script: |
|
- script: |
|
||||||
|
MACOSX_DEPLOYMENT_TARGET=11
|
||||||
cd $(Build.SourcesDirectory)
|
cd $(Build.SourcesDirectory)
|
||||||
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"
|
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"
|
||||||
echo "Trying to know if we are in a forked repo: $IS_FORK"
|
echo "Trying to know if we are in a forked repo: $IS_FORK"
|
||||||
@ -228,7 +229,7 @@ jobs:
|
|||||||
certSecureFile: 'developerID_application.p12'
|
certSecureFile: 'developerID_application.p12'
|
||||||
certPwd: $(P12Password)
|
certPwd: $(P12Password)
|
||||||
- script: |
|
- script: |
|
||||||
export MACOSX_DEPLOYMENT_TARGET=10.13
|
MACOSX_DEPLOYMENT_TARGET=10.13
|
||||||
cd $(Build.SourcesDirectory)
|
cd $(Build.SourcesDirectory)
|
||||||
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"
|
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"
|
||||||
echo "Trying to know if we are in a forked repo: $IS_FORK"
|
echo "Trying to know if we are in a forked repo: $IS_FORK"
|
||||||
|
Loading…
Reference in New Issue
Block a user