diff --git a/.travis.yml b/.travis.yml index fd6b42a..5c1763d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ +if: commit_message =~ ^Release v$ + matrix: include: - os: osx @@ -22,16 +24,8 @@ script: security create-keychain -p travis $KEYCHAIN; security default-keychain -s $KEYCHAIN; security unlock-keychain -p travis $KEYCHAIN; - security import ./assets/certs/apple.cer -k ~/Library/Keychains/$KEYCHAIN -T /usr/bin/codesign - security import ./assets/certs/dac.cer -k ~/Library/Keychains/$KEYCHAIN -T /usr/bin/codesign security import $CERTIFICATE_P12 -k $KEYCHAIN -P $MACOS_CERT_PASSWORD -T /usr/bin/codesign 2>&1 >/dev/null; rm $CERTIFICATE_P12; - security set-key-partition-list -S apple-tool:,apple: -s -k travis $KEYCHAIN - security find-identity -v -p codesigning yarn run publish before_cache: - - rm -rf $HOME/.cache/electron-builder/wine - -branches: - except: - - "/^v\\d+\\.\\d+\\.\\d+$/" \ No newline at end of file + - rm -rf $HOME/.cache/electron-builder/wine \ No newline at end of file