Improve snap build script: check snapcraft exit status, write checksum
This commit is contained in:
parent
1616732dd6
commit
7ca18587c1
|
@ -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
|
||||
|
|
Reference in New Issue
Block a user