Skip to content

Commit

Permalink
fix travis osx
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Nov 7, 2017
1 parent b9d6eb7 commit effbfcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ci/osx/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ VERSION="$(get_version .)"
#Only build if the commit we are building is for the last tag
if [ "$(git rev-list -n 1 $VERSION)" != "$(cat .git/HEAD)" ]; then
echo "Not uploading package"
# return 0
return 0
fi

QTDIR="/usr/local/opt/qt5"
Expand Down Expand Up @@ -70,6 +70,7 @@ security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $KEYCHAIN_
# Use first ID
security find-identity -v $KEYCHAIN
export ID=$(security find-identity -v $KEYCHAIN | grep "1)" | sed "s/^ *1) *\([^ ]*\).*/\1/")
echo "Using ID: $ID"

#Sign binaries!
codesign --deep --force --verbose --sign $ID --keychain $KEYCHAIN build/$APP.app
Expand Down

0 comments on commit effbfcf

Please sign in to comment.