From e539a9098ca02b8ca20862a4944e9afc477a7973 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 12 Jan 2019 00:35:42 +0200 Subject: Update CI script and tcell --- scripts/ci | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/ci b/scripts/ci index a05ef7c..f73df98 100755 --- a/scripts/ci +++ b/scripts/ci @@ -27,9 +27,11 @@ cp target/$PROJECT_NAME-linux-amd64 deb/usr/bin/gomuks git clone https://github.com/tulir/tcell.git .tmp/tcell mkdir -p deb/usr/share/tcell/ rm -rf deb/usr/share/tcell/database -cp -r .tmp.tcell/terminfo/database deb/usr/share/tcell +cp -r .tmp/tcell/terminfo/database deb/usr/share/tcell sed -i.bak -E 's/(Version: [0-9]+\.[0-9]+\.[0-9]+\-[0-9]+)/\1+'$SHORTHEAD'/' deb/DEBIAN/control +chmod -R -s deb/DEBIAN +chmod -R 0755 deb/DEBIAN dpkg-deb --build deb 'target/'$PROJECT_NAME'_linux_amd64.deb' mv -f deb/DEBIAN/control.bak deb/DEBIAN/control -- cgit v1.2.3