From 7ca18587c1c3bc2ed1aa961027c09d2004e00b7a Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Sun, 24 Sep 2023 23:44:41 +0300 Subject: [PATCH] Improve snap build script: check snapcraft exit status, write checksum --- .buildbot/snap/build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.buildbot/snap/build.sh b/.buildbot/snap/build.sh index 1375b5f4..5d65a745 100755 --- a/.buildbot/snap/build.sh +++ b/.buildbot/snap/build.sh @@ -1,7 +1,9 @@ -#!/bin/sh +#!/bin/bash -cd packages && snapcraft +pushd packages && snapcraft || exit 1 -cd .. +popd mkdir -p ../out mv packages/pybitmessage*.snap ../out +cd ../out +sha256sum pybitmessage*.snap > SHA256SUMS