diff options
Diffstat (limited to 'scripts/ci')
-rwxr-xr-x | scripts/ci | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -16,7 +16,14 @@ GOOS=darwin go build -o "target/$PROJECT_NAME-darwin-amd64" echo "Packaging for debian (linux/amd64)" mkdir -p deb/usr/bin/ + cp target/$PROJECT_NAME-linux-amd64 deb/usr/bin/gomuks + +go get -u maunium.net/go/tcell +mkdir -p deb/usr/share/tcell/ +rm -rf deb/usr/share/tcell/database +cp -r $GOPATH/src/maunium.net/go/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 dpkg-deb --build deb 'target/'$PROJECT_NAME'_linux_amd64.deb' mv -f deb/DEBIAN/control.bak deb/DEBIAN/control |