2019-12-30 08:24:08 +03:00
|
|
|
#!/bin/bash
|
2021-04-05 22:29:13 +03:00
|
|
|
set -x
|
2019-12-30 08:24:08 +03:00
|
|
|
|
|
|
|
[[ -f /tmp/wezterm.releases.json ]] || curl https://api.github.com/repos/wez/wezterm/releases > /tmp/wezterm.releases.json
|
2021-04-05 22:29:13 +03:00
|
|
|
[[ -f /tmp/wezterm.nightly.json ]] || curl https://api.github.com/repos/wez/wezterm/releases/tags/nightly > /tmp/wezterm.nightly.json
|
2021-02-01 04:15:35 +03:00
|
|
|
python3 ci/subst-release-info.py || exit 1
|
|
|
|
python3 ci/generate-docs.py || exit 1
|
2019-12-30 08:24:08 +03:00
|
|
|
mdbook build docs
|
|
|
|
|
2021-02-24 20:27:13 +03:00
|
|
|
cp assets/icon/terminal.png gh_pages/html/favicon.png
|
|
|
|
cp assets/icon/wezterm-icon.svg gh_pages/html/favicon.svg
|