Skip to content

Commit 7ca1858

Browse files
author
Lee Miller
committed
Improve snap build script: check snapcraft exit status, write checksum
1 parent 1616732 commit 7ca1858

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.buildbot/snap/build.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

3-
cd packages && snapcraft
3+
pushd packages && snapcraft || exit 1
44

5-
cd ..
5+
popd
66
mkdir -p ../out
77
mv packages/pybitmessage*.snap ../out
8+
cd ../out
9+
sha256sum pybitmessage*.snap > SHA256SUMS

0 commit comments

Comments
 (0)