ソースを参照

Travis CI: disable package upload for external PR

Arseniy Shestakov 8 年 前
コミット
0fd775151f
2 ファイル変更11 行追加0 行削除
  1. 5 0
      CI/mac/upload_package.sh
  2. 6 0
      CI/mxe/upload_package.sh

+ 5 - 0
CI/mac/upload_package.sh

@@ -1,4 +1,9 @@
 #!/bin/sh
+if [ -z "$encrypted_1d30f79f8582_key" ];
+then
+	# Due to security measures travis not expose encryption keys for PR from forks
+	exit 0
+fi
 cpack
 
 touch /tmp/deploy_rsa

+ 6 - 0
CI/mxe/upload_package.sh

@@ -1,4 +1,10 @@
 #!/bin/sh
+if [ -z "$encrypted_1d30f79f8582_key" ];
+then
+	# Due to security measures travis not expose encryption keys for PR from forks
+	exit 0
+fi
+
 cpack
 
 touch /tmp/deploy_rsa