Make sure our generated packages are world-readable, otherwise they
authorWard Vandewege <ward@curoverse.com>
Wed, 1 Oct 2014 21:22:51 +0000 (17:22 -0400)
committerWard Vandewege <ward@curoverse.com>
Wed, 1 Oct 2014 21:22:51 +0000 (17:22 -0400)
won't be useful in the package repo.

No issue #

jenkins/run-build-packages.sh

index 56a43b15a1ddf06447c8f8f4656d8d12f8144bd7..fe64f89e0e5e6f25c33cac96f2eaf5318ec8c9d3 100755 (executable)
@@ -127,6 +127,7 @@ build_and_scp_deb () {
       if [[ "$FPM_EXIT_CODE" != "0" ]]; then
         echo "Error building debian package for $1:\n $FPM_RESULTS"
       else
+        chmod 644 $FPM_PACKAGE_NAME
         scp -P2222 $FPM_PACKAGE_NAME $APTUSER@$APTSERVER:tmp/
         CALL_FREIGHT=1
       fi