mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 05:12:40 +03:00
ci: maybe fixup winget pr submission when tagging a release
This commit is contained in:
parent
e2bf468393
commit
56aa71331e
3
.github/workflows/gen_windows_tag.yml
vendored
3
.github/workflows/gen_windows_tag.yml
vendored
@ -59,6 +59,9 @@ jobs:
|
||||
path: "winget-pkgs"
|
||||
token: "${{ secrets.GH_PAT }}"
|
||||
- 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"
|
||||
|
@ -572,6 +572,10 @@ cargo build --all --release""",
|
||||
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",
|
||||
|
@ -10,7 +10,7 @@ cd "$winget_repo" || exit 1
|
||||
# First sync repo with upstream
|
||||
git remote add upstream https://github.com/microsoft/winget-pkgs.git || true
|
||||
git fetch upstream master --quiet
|
||||
git co -b "$TAG_NAME" upstream/master
|
||||
git checkout -b "$TAG_NAME" upstream/master
|
||||
|
||||
exehash=$(sha256sum -b ../$setup_exe | cut -f1 -d' ' | tr a-f A-F)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user