Skip to content

Commit

Permalink
add certs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jixu Hu committed Dec 11, 2021
1 parent 8bb5819 commit 509a932
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

xcodebuild -resolvePackageDependencies -workspace Clipy.xcworkspace -scheme Clipy -configuration Release -clonedSourcePackagesDirPath SourcePackages

set -o pipefail && xcodebuild -workspace Clipy.xcworkspace -scheme Clipy -configuration Release -clonedSourcePackagesDirPath SourcePackages -destination 'generic/platform=macOS' -archivePath Clipy.xcarchive CODE_SIGN_IDENTITY="${CS_ID}" DEVELOPMENT_TEAM="${CS_TEAM}" clean archive | xcpretty
set -o pipefail && xcodebuild -workspace Clipy.xcworkspace -scheme Clipy -configuration Release -clonedSourcePackagesDirPath SourcePackages -destination 'generic/platform=macOS' -archivePath Clipy.xcarchive CODE_SIGN_IDENTITY="" DEVELOPMENT_TEAM="" clean archive | xcpretty

if [[ -n "${CS_ID}" ]]; then
codesign -f --deep -v -s "${CS_TEAM}" --keychain signing_temp.keychain Clipy.xcarchive/Products/Applications/Clipy.app
fi

# Clean up
rm -rf Clipy.app* || true
Expand Down

0 comments on commit 509a932

Please sign in to comment.