Commit
+2 -0 +/-1 browse
1 | diff --git a/scripts/generate_deb_artifact.sh b/scripts/generate_deb_artifact.sh |
2 | index 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" |