-
-
Notifications
You must be signed in to change notification settings - Fork 833
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: nth time's the charm for winget tag pr thing
- Loading branch information
Showing
3 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected]" | ||
- 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: [email protected] | ||
GIT_AUTHOR_NAME: Wez Furlong | ||
shell: bash | ||
run: "bash ci/make-winget-pr.sh winget-pkgs WezTerm-*.exe" | ||
- name: "Submit PR" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -569,13 +569,17 @@ def create_winget_pr(self): | |
"token": "${{ secrets.GH_PAT }}", | ||
}, | ||
), | ||
RunStep( | ||
"Setup email for winget repo", | ||
"cd winget-pkgs && git config user.email [email protected]", | ||
), | ||
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": "[email protected]", | ||
}, | ||
), | ||
RunStep( | ||
"Submit PR", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
set -x | ||
set -xe | ||
|
||
winget_repo=$1 | ||
setup_exe=$2 | ||
|