mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +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"
|
path: "winget-pkgs"
|
||||||
token: "${{ secrets.GH_PAT }}"
|
token: "${{ secrets.GH_PAT }}"
|
||||||
- name: "Create winget manifest and push to fork"
|
- name: "Create winget manifest and push to fork"
|
||||||
|
env:
|
||||||
|
GIT_AUTHOR_EMAIL: wez@wezfurlong.org
|
||||||
|
GIT_AUTHOR_NAME: Wez Furlong
|
||||||
shell: bash
|
shell: bash
|
||||||
run: "bash ci/make-winget-pr.sh winget-pkgs WezTerm-*.exe"
|
run: "bash ci/make-winget-pr.sh winget-pkgs WezTerm-*.exe"
|
||||||
- name: "Submit PR"
|
- name: "Submit PR"
|
||||||
|
@ -572,6 +572,10 @@ cargo build --all --release""",
|
|||||||
RunStep(
|
RunStep(
|
||||||
"Create winget manifest and push to fork",
|
"Create winget manifest and push to fork",
|
||||||
"bash ci/make-winget-pr.sh winget-pkgs WezTerm-*.exe",
|
"bash ci/make-winget-pr.sh winget-pkgs WezTerm-*.exe",
|
||||||
|
env={
|
||||||
|
"GIT_AUTHOR_NAME": "Wez Furlong",
|
||||||
|
"GIT_AUTHOR_EMAIL": "wez@wezfurlong.org",
|
||||||
|
},
|
||||||
),
|
),
|
||||||
RunStep(
|
RunStep(
|
||||||
"Submit PR",
|
"Submit PR",
|
||||||
|
@ -10,7 +10,7 @@ cd "$winget_repo" || exit 1
|
|||||||
# First sync repo with upstream
|
# First sync repo with upstream
|
||||||
git remote add upstream https://github.com/microsoft/winget-pkgs.git || true
|
git remote add upstream https://github.com/microsoft/winget-pkgs.git || true
|
||||||
git fetch upstream master --quiet
|
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)
|
exehash=$(sha256sum -b ../$setup_exe | cut -f1 -d' ' | tr a-f A-F)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user