mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 02:25:28 +03:00
ci: set release as pre-release when tagging
also looks like I missed updating the source tarball generation step in a prior adjustment.
This commit is contained in:
parent
863a64cea2
commit
0547fbb549
1
.github/workflows/gen_centos7_tag.yml
vendored
1
.github/workflows/gen_centos7_tag.yml
vendored
@ -84,5 +84,6 @@ jobs:
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: "wezterm-*.rpm"
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
1
.github/workflows/gen_centos8_tag.yml
vendored
1
.github/workflows/gen_centos8_tag.yml
vendored
@ -71,5 +71,6 @@ jobs:
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: "wezterm-*.rpm"
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
1
.github/workflows/gen_debian10.3_tag.yml
vendored
1
.github/workflows/gen_debian10.3_tag.yml
vendored
@ -72,5 +72,6 @@ jobs:
|
||||
wezterm-*.xz
|
||||
wezterm-*.tar.gz
|
||||
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
1
.github/workflows/gen_debian9.12_tag.yml
vendored
1
.github/workflows/gen_debian9.12_tag.yml
vendored
@ -91,5 +91,6 @@ jobs:
|
||||
wezterm-*.xz
|
||||
wezterm-*.tar.gz
|
||||
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
1
.github/workflows/gen_fedora31_tag.yml
vendored
1
.github/workflows/gen_fedora31_tag.yml
vendored
@ -65,5 +65,6 @@ jobs:
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: "wezterm-*.rpm"
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
1
.github/workflows/gen_fedora32_tag.yml
vendored
1
.github/workflows/gen_fedora32_tag.yml
vendored
@ -65,5 +65,6 @@ jobs:
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: "wezterm-*.rpm"
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
1
.github/workflows/gen_macos_tag.yml
vendored
1
.github/workflows/gen_macos_tag.yml
vendored
@ -71,6 +71,7 @@ jobs:
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: "WezTerm-*.zip"
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- name: "Checkout homebrew tap"
|
||||
|
3
.github/workflows/gen_ubuntu16.yml
vendored
3
.github/workflows/gen_ubuntu16.yml
vendored
@ -64,6 +64,9 @@ jobs:
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Source Tarball"
|
||||
shell: bash
|
||||
run: "bash ci/source-archive.sh"
|
||||
- name: "Build AppImage"
|
||||
shell: bash
|
||||
run: "bash ci/appimage.sh"
|
||||
|
@ -89,6 +89,13 @@ jobs:
|
||||
bash ci/deploy.sh
|
||||
|
||||
|
||||
- name: "Source Tarball"
|
||||
shell: bash
|
||||
run: |
|
||||
export BUILD_REASON=Schedule
|
||||
bash ci/source-archive.sh
|
||||
|
||||
|
||||
- name: "Build AppImage"
|
||||
shell: bash
|
||||
run: |
|
||||
|
4
.github/workflows/gen_ubuntu16_tag.yml
vendored
4
.github/workflows/gen_ubuntu16_tag.yml
vendored
@ -58,6 +58,9 @@ jobs:
|
||||
- name: "Package"
|
||||
shell: bash
|
||||
run: "bash ci/deploy.sh"
|
||||
- name: "Source Tarball"
|
||||
shell: bash
|
||||
run: "bash ci/source-archive.sh"
|
||||
- name: "Build AppImage"
|
||||
shell: bash
|
||||
run: "bash ci/appimage.sh"
|
||||
@ -71,6 +74,7 @@ jobs:
|
||||
*.AppImage
|
||||
*.zsync
|
||||
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- name: "Update AUR"
|
||||
|
1
.github/workflows/gen_ubuntu18_tag.yml
vendored
1
.github/workflows/gen_ubuntu18_tag.yml
vendored
@ -66,5 +66,6 @@ jobs:
|
||||
wezterm-*.xz
|
||||
wezterm-*.tar.gz
|
||||
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
1
.github/workflows/gen_ubuntu19.10_tag.yml
vendored
1
.github/workflows/gen_ubuntu19.10_tag.yml
vendored
@ -72,5 +72,6 @@ jobs:
|
||||
wezterm-*.xz
|
||||
wezterm-*.tar.gz
|
||||
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
1
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
1
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
@ -72,5 +72,6 @@ jobs:
|
||||
wezterm-*.xz
|
||||
wezterm-*.tar.gz
|
||||
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
1
.github/workflows/gen_windows_tag.yml
vendored
1
.github/workflows/gen_windows_tag.yml
vendored
@ -61,5 +61,6 @@ jobs:
|
||||
WezTerm-*.zip
|
||||
WezTerm-*.exe
|
||||
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
@ -197,9 +197,7 @@ ln -s /usr/local/git/bin/git /usr/local/bin/git
|
||||
|
||||
def install_rust(self, cache=True):
|
||||
salt = "2"
|
||||
key_prefix = (
|
||||
f"{self.name}-{self.rust_target}-{salt}-${{{{ runner.os }}}}-${{{{ hashFiles('**/Cargo.lock') }}}}"
|
||||
)
|
||||
key_prefix = f"{self.name}-{self.rust_target}-{salt}-${{{{ runner.os }}}}-${{{{ hashFiles('**/Cargo.lock') }}}}"
|
||||
params = {
|
||||
"profile": "minimal",
|
||||
"toolchain": "stable",
|
||||
@ -330,7 +328,7 @@ cargo build --all --release""",
|
||||
ActionStep(
|
||||
"Upload to Tagged Release",
|
||||
action="softprops/action-gh-release@v1",
|
||||
params={"files": "\n".join(patterns)},
|
||||
params={"files": "\n".join(patterns), "prerelease": True},
|
||||
env={"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}",},
|
||||
)
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user