Commit
Author: Kevin Schoon [kevinschoon@gmail.com]
Hash: acc704ae640dc2ceef6475461b2e0a62d0d46ab8
Timestamp: Thu, 10 Sep 2020 22:05:18 +0000 (4 years ago)

+2 -0 +/-1 browse
generate md5sum for deb
1diff --git a/scripts/generate_deb_artifact.sh b/scripts/generate_deb_artifact.sh
2index a5ce37f..9b42848 100755
3--- a/scripts/generate_deb_artifact.sh
4+++ b/scripts/generate_deb_artifact.sh
5 @@ -18,6 +18,7 @@ VERSION="$1"
6 BUILD_ARTIFACT="pkg/note-glibc-$VERSION"
7 PKG="note-$VERSION-debian"
8 PKG_PATH="pkg/$PKG"
9+ PKG_TARGET="$PKG_PATH.deb"
10 mkdir -p "$PKG_PATH/DEBIAN"
11
12 cat >"$PKG_PATH/DEBIAN/control"<<EOF
13 @@ -34,3 +35,4 @@ cp -r "$BUILD_ARTIFACT"/* "$PKG_PATH/"
14 mkdir -p "$PKG_PATH/usr/share/bash-completion/completions"
15 mv "$PKG_PATH/share/note/note.bash" "$PKG_PATH/usr/share/bash-completion/completions/"
16 dpkg-deb -b "$PKG_PATH"
17+ md5sum "$PKG_TARGET" > "$PKG_TARGET.md5"