Skip to content

Commit 509a932

Browse files
author
Jixu Hu
committed
add certs
1 parent 8bb5819 commit 509a932

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis/build.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33

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

6-
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
6+
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
7+
8+
if [[ -n "${CS_ID}" ]]; then
9+
codesign -f --deep -v -s "${CS_TEAM}" --keychain signing_temp.keychain Clipy.xcarchive/Products/Applications/Clipy.app
10+
fi
711

812
# Clean up
913
rm -rf Clipy.app* || true

0 commit comments

Comments
 (0)