diff --git a/.gitignore b/.gitignore index 01e61b03a..b32abb9a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store +/WezTerm*.zip /Cargo.lock /target/ **/*.rs.bk diff --git a/.travis.yml b/.travis.yml index 710e31706..54975658c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,3 +46,19 @@ addons: - libxkbcommon-dev - libxkbcommon-x11-dev - ragel + +before_deploy: + - ./install.sh + +deploy: + provider: releases + 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 + skip_cleanup: true + draft: true + on: + repo: wez/wezterm + tags: true + diff --git a/ci/deploy.sh b/ci/deploy.sh new file mode 100644 index 000000000..789af75c9 --- /dev/null +++ b/ci/deploy.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -x + +./install.sh + +HERE=$(pwd) + +case $OSTYPE in + darwin*) + (cd $HOME/Applications && zip -r $HERE/WezTerm-macOS.zip WezTerm.app) + ;; + *) + ;; +esac