1
1
mirror of https://github.com/wez/wezterm.git synced 2024-10-26 15:52:29 +03:00

ci: nth time's the charm for winget tag pr thing

This commit is contained in:
Wez Furlong 2022-08-07 11:30:36 -07:00
parent 608750d5e0
commit c2fee76638
3 changed files with 15 additions and 8 deletions

View File

@ -83,10 +83,13 @@ jobs:
repository: "wez/winget-pkgs"
path: "winget-pkgs"
token: "${{ secrets.GH_PAT }}"
- name: "Setup email for winget repo"
shell: bash
run: "cd winget-pkgs && git config user.email wez@wezfurlong.org"
- name: "Setup name for winget repo"
shell: bash
run: "cd winget-pkgs && git config user.name 'Wez Furlong'"
- name: "Create winget manifest and push to fork"
env:
GIT_AUTHOR_EMAIL: wez@wezfurlong.org
GIT_AUTHOR_NAME: Wez Furlong
shell: bash
run: "bash ci/make-winget-pr.sh winget-pkgs WezTerm-*.exe"
- name: "Submit PR"

View File

@ -569,13 +569,17 @@ cargo build --all --release""",
"token": "${{ secrets.GH_PAT }}",
},
),
RunStep(
"Setup email for winget repo",
"cd winget-pkgs && git config user.email wez@wezfurlong.org",
),
RunStep(
"Setup name for winget repo",
"cd winget-pkgs && git config user.name 'Wez Furlong'",
),
RunStep(
"Create winget manifest and push to fork",
"bash ci/make-winget-pr.sh winget-pkgs WezTerm-*.exe",
env={
"GIT_AUTHOR_NAME": "Wez Furlong",
"GIT_AUTHOR_EMAIL": "wez@wezfurlong.org",
},
),
RunStep(
"Submit PR",

View File

@ -1,5 +1,5 @@
#!/bin/bash
set -x
set -xe
winget_repo=$1
setup_exe=$2