chiark / gitweb /
bin/mdw-build: Don't sign tarball for test builds.
[profile] / bin / mdw-build
index 1c51085491d0a4a771b86154bebf9bfa34aa90c2..9717a207ede5906a4c685ee33a55f2b834b62255 100755 (executable)
@@ -315,7 +315,12 @@ if ! tar tf $buildpath/$distdir.tar.gz 2>/dev/null | grep -q RELEASE; then
 fi
 
 run mv $buildpath/$distdir.tar.gz .
-run gpg -u$(mdw-conf releasekey) -ab -o$distdir.tar.gz.gpg $distdir.tar.gz
+case $build in
+  release)
+    run gpg -u$(mdw-conf releasekey) -ab -o$distdir.tar.gz.gpg \
+      $distdir.tar.gz
+    ;;
+esac
 
 ## Maybe build the Debian packages.
 case "$debian" in