From d199178dd77e3b4c4bcd645de770868092b809c7 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 11 Jan 2020 09:49:17 -0800 Subject: [PATCH] docs: avoid occasional page build failure Sometimes we race with the nightly build while it is deleting and uploading artifacts. Since they have stable names, just hard code those in the the markdown. --- ci/subst-release-info.py | 5 ----- docs/installation.markdown | 8 ++++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/ci/subst-release-info.py b/ci/subst-release-info.py index 10cef8647..17bd6ef22 100644 --- a/ci/subst-release-info.py +++ b/ci/subst-release-info.py @@ -63,11 +63,6 @@ def load_release_info(): subst["{{ %s_stable_asset }}" % kind] = name subst["{{ %s_stable_dir }}" % kind] = dir - for (kind, (url, name, dir)) in nightly.items(): - subst["{{ %s_pre }}" % kind] = url - subst["{{ %s_pre_asset }}" % kind] = name - subst["{{ %s_pre_dir }}" % kind] = dir - with open("docs/installation.markdown", "r") as input: with open("docs/installation.md", "w") as output: for line in input: diff --git a/docs/installation.markdown b/docs/installation.markdown index ceb35e39c..d75d54431 100644 --- a/docs/installation.markdown +++ b/docs/installation.markdown @@ -4,7 +4,7 @@ Windows 10 or later is required to run WezTerm. Download for Windows -Nightly for Windows +Nightly for Windows 1. Download Release 2. Extract the zipfile and double-click `wezterm.exe` to run the UI 3. Configuration instructions can be [found here](config/index.html) @@ -15,7 +15,7 @@ The CI system builds the package on macOS Mojave (10.14). It may run on earlier versions of macOS, but that has not been tested. Download for macOS -Nightly for macOS +Nightly for macOS 1. Download Release 2. Extract the zipfile and drag the `WezTerm.app` bundle to your `Applications` folder 3. First time around, you may need to right click and select `Open` to allow launching @@ -29,7 +29,7 @@ The CI system builds a `.deb` file on Ubuntu 16.04. It is compatible with other debian style systems, including Debian 9 (Stretch) and later versions. Download for Ubuntu -Nightly for Ubuntu +Nightly for Ubuntu ```bash curl -LO {{ ubuntu_stable }} @@ -44,7 +44,7 @@ sudo apt install -y ./{{ ubuntu_stable_asset }} The CI system builds an `.rpm` file on Fedora 31. Download for Fedora -Nightly for Fedora +Nightly for Fedora ```bash sudo dnf install -y {{ fedora_stable }}