mirror of
https://github.com/wez/wezterm.git
synced 2024-09-11 14:25:57 +03:00
ci: urgh, try another way
This commit is contained in:
parent
e11b9460ef
commit
7edc5b5ab0
6
.github/workflows/gen_centos8_tag.yml
vendored
6
.github/workflows/gen_centos8_tag.yml
vendored
@ -83,12 +83,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME wezterm-*.rpm"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.rpm"
|
||||
|
6
.github/workflows/gen_debian10.3_tag.yml
vendored
6
.github/workflows/gen_debian10.3_tag.yml
vendored
@ -85,12 +85,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME wezterm-*.deb wezterm-*.xz"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.deb wezterm-*.xz"
|
||||
|
6
.github/workflows/gen_debian11_tag.yml
vendored
6
.github/workflows/gen_debian11_tag.yml
vendored
@ -85,12 +85,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME wezterm-*.deb wezterm-*.xz"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.deb wezterm-*.xz"
|
||||
|
6
.github/workflows/gen_debian9.12_tag.yml
vendored
6
.github/workflows/gen_debian9.12_tag.yml
vendored
@ -99,12 +99,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME wezterm-*.deb wezterm-*.xz"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.deb wezterm-*.xz"
|
||||
|
6
.github/workflows/gen_fedora33_tag.yml
vendored
6
.github/workflows/gen_fedora33_tag.yml
vendored
@ -80,12 +80,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME wezterm-*.rpm"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.rpm"
|
||||
|
6
.github/workflows/gen_fedora34_tag.yml
vendored
6
.github/workflows/gen_fedora34_tag.yml
vendored
@ -80,12 +80,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME wezterm-*.rpm"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.rpm"
|
||||
|
6
.github/workflows/gen_fedora35_tag.yml
vendored
6
.github/workflows/gen_fedora35_tag.yml
vendored
@ -80,12 +80,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME wezterm-*.rpm"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.rpm"
|
||||
|
6
.github/workflows/gen_macos_tag.yml
vendored
6
.github/workflows/gen_macos_tag.yml
vendored
@ -94,12 +94,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME WezTerm-*.zip"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) WezTerm-*.zip"
|
||||
|
6
.github/workflows/gen_ubuntu18_tag.yml
vendored
6
.github/workflows/gen_ubuntu18_tag.yml
vendored
@ -93,12 +93,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync"
|
||||
|
6
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
6
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
@ -85,12 +85,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME wezterm-*.deb wezterm-*.xz"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.deb wezterm-*.xz"
|
||||
|
6
.github/workflows/gen_windows_tag.yml
vendored
6
.github/workflows/gen_windows_tag.yml
vendored
@ -65,12 +65,10 @@ jobs:
|
||||
- name: "Create pre-release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $TAG_NAME"
|
||||
run: "bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)"
|
||||
- name: "Upload to Tagged Release"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
shell: bash
|
||||
run: "bash ci/retry.sh gh release upload --clobber $TAG_NAME WezTerm-*.zip WezTerm-*.exe"
|
||||
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) WezTerm-*.zip WezTerm-*.exe"
|
||||
|
@ -443,18 +443,16 @@ cargo build --all --release""",
|
||||
),
|
||||
RunStep(
|
||||
"Create pre-release",
|
||||
"bash ci/retry.sh bash ci/create-release.sh $TAG_NAME",
|
||||
"bash ci/retry.sh bash ci/create-release.sh $(ci/tag-name.sh)",
|
||||
env={
|
||||
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}",
|
||||
"TAG_NAME": "${{ github.event.release.tag_name }}",
|
||||
},
|
||||
),
|
||||
RunStep(
|
||||
"Upload to Tagged Release",
|
||||
f"bash ci/retry.sh gh release upload --clobber $TAG_NAME {glob}",
|
||||
f"bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) {glob}",
|
||||
env={
|
||||
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}",
|
||||
"TAG_NAME": "${{ github.event.release.tag_name }}",
|
||||
},
|
||||
),
|
||||
]
|
||||
|
2
ci/tag-name.sh
Executable file
2
ci/tag-name.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
git -c "core.abbrev=8" show -s "--format=%cd-%h" "--date=format:%Y%m%d-%H%M%S"
|
Loading…
Reference in New Issue
Block a user