X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/dd8d9a6cdcb8c9f4682dc99216db715c406e60a8..33fef33f664c64e3e77064485496ed291c632c13:/bin/mdw-build diff --git a/bin/mdw-build b/bin/mdw-build index 69a6642..a465040 100755 --- a/bin/mdw-build +++ b/bin/mdw-build @@ -307,6 +307,7 @@ 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 ## Maybe build the Debian packages. case "$debian" in @@ -324,7 +325,7 @@ case "$upload,$build" in info "Test build: not uploading." ;; yes,release) - run rsync $distdir.tar.gz \ + run rsync $distdir.tar.gz $distdir.tar.gz.gpg \ $(mdw-conf upload-target ftp.distorted.org.uk:~ftp/pub/mdw/) case "$debian" in yes)