From 2d99e6e816cfe37f1dc7b355247b53e1ce62c5ec Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 6 Dec 2021 13:14:16 -0700 Subject: [PATCH] ci: fixup upload globs for ubuntu --- .github/workflows/gen_debian10.3_continuous.yml | 2 +- .github/workflows/gen_debian10.3_tag.yml | 2 +- .github/workflows/gen_debian11_continuous.yml | 2 +- .github/workflows/gen_debian11_tag.yml | 2 +- .github/workflows/gen_debian9.12_continuous.yml | 2 +- .github/workflows/gen_debian9.12_tag.yml | 2 +- .github/workflows/gen_ubuntu18_continuous.yml | 2 +- .github/workflows/gen_ubuntu18_tag.yml | 2 +- .github/workflows/gen_ubuntu20.04_continuous.yml | 2 +- .github/workflows/gen_ubuntu20.04_tag.yml | 2 +- ci/generate-workflows.py | 3 ++- 11 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/gen_debian10.3_continuous.yml b/.github/workflows/gen_debian10.3_continuous.yml index b97eb40db..aac8be9e1 100644 --- a/.github/workflows/gen_debian10.3_continuous.yml +++ b/.github/workflows/gen_debian10.3_continuous.yml @@ -143,4 +143,4 @@ jobs: shell: bash run: | export BUILD_REASON=Schedule - bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz wezterm-*.tar.gz + bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz diff --git a/.github/workflows/gen_debian10.3_tag.yml b/.github/workflows/gen_debian10.3_tag.yml index a0553f08f..6529663b0 100644 --- a/.github/workflows/gen_debian10.3_tag.yml +++ b/.github/workflows/gen_debian10.3_tag.yml @@ -97,4 +97,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash - run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz wezterm-*.tar.gz" + run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz" diff --git a/.github/workflows/gen_debian11_continuous.yml b/.github/workflows/gen_debian11_continuous.yml index 4615e5ffb..4f8ed6c2a 100644 --- a/.github/workflows/gen_debian11_continuous.yml +++ b/.github/workflows/gen_debian11_continuous.yml @@ -143,4 +143,4 @@ jobs: shell: bash run: | export BUILD_REASON=Schedule - bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz wezterm-*.tar.gz + bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz diff --git a/.github/workflows/gen_debian11_tag.yml b/.github/workflows/gen_debian11_tag.yml index 124633b04..a05337ada 100644 --- a/.github/workflows/gen_debian11_tag.yml +++ b/.github/workflows/gen_debian11_tag.yml @@ -97,4 +97,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash - run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz wezterm-*.tar.gz" + run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz" diff --git a/.github/workflows/gen_debian9.12_continuous.yml b/.github/workflows/gen_debian9.12_continuous.yml index 00e8c016d..6abc48660 100644 --- a/.github/workflows/gen_debian9.12_continuous.yml +++ b/.github/workflows/gen_debian9.12_continuous.yml @@ -156,4 +156,4 @@ jobs: shell: bash run: | export BUILD_REASON=Schedule - bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz wezterm-*.tar.gz + bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz diff --git a/.github/workflows/gen_debian9.12_tag.yml b/.github/workflows/gen_debian9.12_tag.yml index 9a6228ffb..1962f5d0c 100644 --- a/.github/workflows/gen_debian9.12_tag.yml +++ b/.github/workflows/gen_debian9.12_tag.yml @@ -111,4 +111,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash - run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz wezterm-*.tar.gz" + run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz" diff --git a/.github/workflows/gen_ubuntu18_continuous.yml b/.github/workflows/gen_ubuntu18_continuous.yml index 331ac52fb..e70bd74d8 100644 --- a/.github/workflows/gen_ubuntu18_continuous.yml +++ b/.github/workflows/gen_ubuntu18_continuous.yml @@ -98,4 +98,4 @@ jobs: shell: bash run: | export BUILD_REASON=Schedule - bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz wezterm-*.tar.gz *.AppImage *.zsync + bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync diff --git a/.github/workflows/gen_ubuntu18_tag.yml b/.github/workflows/gen_ubuntu18_tag.yml index 093bd2453..986d03178 100644 --- a/.github/workflows/gen_ubuntu18_tag.yml +++ b/.github/workflows/gen_ubuntu18_tag.yml @@ -70,7 +70,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash - run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz wezterm-*.tar.gz *.AppImage *.zsync" + run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync" - name: "Checkout linuxbrew tap" uses: actions/checkout@v2 with: diff --git a/.github/workflows/gen_ubuntu20.04_continuous.yml b/.github/workflows/gen_ubuntu20.04_continuous.yml index bf70e4759..df60b4479 100644 --- a/.github/workflows/gen_ubuntu20.04_continuous.yml +++ b/.github/workflows/gen_ubuntu20.04_continuous.yml @@ -143,4 +143,4 @@ jobs: shell: bash run: | export BUILD_REASON=Schedule - bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz wezterm-*.tar.gz + bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz diff --git a/.github/workflows/gen_ubuntu20.04_tag.yml b/.github/workflows/gen_ubuntu20.04_tag.yml index 72e3b90f0..339c07ace 100644 --- a/.github/workflows/gen_ubuntu20.04_tag.yml +++ b/.github/workflows/gen_ubuntu20.04_tag.yml @@ -97,4 +97,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash - run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz wezterm-*.tar.gz" + run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz" diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index 5390030e6..9f2533a27 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -377,9 +377,10 @@ cargo build --all --release""", elif "mac" in self.name: patterns += ["WezTerm-*.zip"] elif ("ubuntu" in self.name) or ("debian" in self.name): - patterns += ["wezterm-*.deb", "wezterm-*.xz", "wezterm-*.tar.gz"] + patterns += ["wezterm-*.deb", "wezterm-*.xz"] if self.app_image: + patterns.append("*src.tar.gz") patterns.append("*.AppImage") patterns.append("*.zsync") return patterns