mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 05:12:40 +03:00
Ask travis to build and publish a .deb to a github release
This commit is contained in:
parent
4d8a4f790a
commit
cd93f287fd
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,6 +1,8 @@
|
||||
.DS_Store
|
||||
/wezterm*.snap
|
||||
/WezTerm*.zip
|
||||
/wezterm*.deb
|
||||
/pkg
|
||||
/Cargo.lock
|
||||
/target/
|
||||
**/*.rs.bk
|
||||
|
@ -54,7 +54,9 @@ deploy:
|
||||
api_key:
|
||||
secure: IfuwRuR0rXgdxnBcjFzOgKwxWMs/xpB5J1WpSdgBJjbA6AGdB2K5FUqWAEm6XxWD/M9QRAT4JrYgQR/+bKXOhXDAL8bOCsG9RAQirfGZ0Ne7TvrJKHqmx3CrCPo5OB49Fh12Q8f6wjOnwT8MMmdVHIreKVlj9A+EjJYgyNZKhrXDZH/IB8zXKAeVI6bUs0e3bIpfKGDYzIkEJV37115Hi7FnU781q8EQYnadMq4YYQRQpuTspD7GQ/Thur+x/+mExmQ+LG1vBY07Fu/H+p7ikrLMVmIuaUKRC/X09xGKABP3lKVw8lzpQtwlSWRVt1qQYDqNR1dklPD6LcR8jrDDtN+bOCgD6SXQc1kU9iQJizng0a3fibbJmAj2Om9kTRW73OfMbDgX1jDKhA9Swt/CJ6nbHqrRVdczhkdIzFdV3ceNkCSBMrlDnOsvrZWVp9foQFjTa0Ij6q5C1yLW8D8hkoY6lJJeGuzFqBPcPBhHe463/Fgs77xAVrfA8JLOEZbt6yMwGv0dNcsJihr39zVyNlRLeaLEl2wDTDfL2L4j98YM8hR7vo81awls1ZGwWBKqTw4dt2XQmsfY6Rn0WZJBqdiEPOS+C31Bqcq2dFfbJyKswrQQsoNxxl2KiKNo4VWS9xNmRvaQlNdKfxk2osM4nbf+YpNK4DKuqX15DdgVtrE=
|
||||
file_glob: true
|
||||
file: WezTerm*.zip
|
||||
file:
|
||||
- WezTerm*.zip
|
||||
- wezterm*.deb
|
||||
skip_cleanup: true
|
||||
on:
|
||||
repo: wez/wezterm
|
||||
|
26
ci/deploy.sh
26
ci/deploy.sh
@ -31,6 +31,32 @@ case $OSTYPE in
|
||||
mkdir $zipdir
|
||||
cp target/release/wezterm.exe target/release/wezterm.pdb $zipdir
|
||||
7z a -tzip $zipdir.zip $zipdir
|
||||
;;
|
||||
linux-gnu)
|
||||
case `lsb_release -ds` in
|
||||
Ubuntu*|Debian*)
|
||||
rm -rf pkg
|
||||
mkdir -p pkg/debian/usr/bin pkg/debian/DEBIAN
|
||||
cat > pkg/debian/DEBIAN/control <<EOF
|
||||
Package: wezterm
|
||||
Version: ${TAG_NAME}
|
||||
Architecture: amd64
|
||||
Maintainer: Wez Furlong <wez@wezfurlong.org>
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Homepage: https://github.com/wez/wezterm
|
||||
Description: Wez's Terminal Emulator.
|
||||
wezterm is a terminal emulator with support for modern features
|
||||
such as fonts with ligatures, hyperlinks, tabs and multiple
|
||||
windows.
|
||||
Depends: libc6, libegl-mesa0, libxcb-icccm4, libxcb-ewmh2, libxcb-keysyms1, libxcb-xkb1, libxkbcommon0, libxkbcommon-x11-0, libfontconfig1, xdg-utils, libxcb-render0, libxcb-shape0, libx11-6, libegl1
|
||||
EOF
|
||||
cp target/release/wezterm pkg/debian/usr/bin
|
||||
fakeroot dpkg-deb --build pkg/debian wezterm-$TAG_NAME.deb
|
||||
rm -rf pkg
|
||||
;;
|
||||
esac
|
||||
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user