diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-01-12 00:35:42 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-01-12 00:35:42 +0200 |
commit | e539a9098ca02b8ca20862a4944e9afc477a7973 (patch) | |
tree | 1eb53467bd98187d2640b1d86ce744e0222d6ca3 /scripts | |
parent | de39ec86ffdb4d45231c55b6d641b13e0eeaa07d (diff) |
Update CI script and tcell
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |