]> prime8.dev >> repos - ttyd.git/commitdiff
scripts: include SHA256SUMS in cross build tarball
authorShuanglei Tao <tsl0922@gmail.com>
Sun, 2 Sep 2018 15:53:34 +0000 (23:53 +0800)
committerShuanglei Tao <tsl0922@gmail.com>
Sun, 2 Sep 2018 16:33:37 +0000 (00:33 +0800)
scripts/cross-build.sh [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 525bce0..6669c2b
@@ -143,5 +143,6 @@ done
 
 echo "=== Archiving bin to a tarball..."
 pushd bin
-       tar czvf ../ttyd_$TTYD_VERSION_linux.tar.gz ttyd_linux.*
-popd
\ No newline at end of file
+       sha256sum ttyd_linux.* > SHA256SUMS
+       tar czvf ../ttyd_${TTYD_VERSION}_linux.tar.gz ttyd_linux.* SHA256SUMS
+popd