release script: don't run the tests
authorStefan Junker <mail@stefanjunker.de>
Fri, 6 May 2016 15:50:01 +0000 (17:50 +0200)
committerStefan Junker <mail@stefanjunker.de>
Thu, 19 May 2016 13:05:29 +0000 (15:05 +0200)
For two reasons:

1. They're not functional within rkt
2. They rebuild the binaries dynamically

scripts/release-with-rkt.sh

index c5fac8f..6770254 100755 (executable)
@@ -26,7 +26,7 @@ sudo -E rkt run \
     ${FEDORA_IMAGE} \
     --exec /bin/bash \
     -- -xe -c "\
-    ${FEDORA_INSTALL}; cd /opt/src; umask 0022; CGO_ENABLED=0 ./build ${BUILDFLAGS}; ./test || true; \
+    ${FEDORA_INSTALL}; cd /opt/src; umask 0022; CGO_ENABLED=0 ./build ${BUILDFLAGS}; \
     for format in txz tbz2 tgz; do \
         FILENAME=cni-${TAG}.\$format; \
         FILEPATH=${RELEASE_DIR}/\$FILENAME; \