You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automates the submission of Harbor CLI updates to the Windows Package Manager (WinGet) repository. This function uses `wingetcreate` to update the package manifest and automatically submit a pull request to `microsoft/winget-pkgs`.
76
+
77
+
Before running the command, export your GitHub Personal Access Token (with `public_repo` scope):
78
+
79
+
```shell
80
+
export GITHUB_TOKEN=ghp_yourTokenHere
81
+
```
82
+
83
+
**Basic Usage** (auto-detects installer URLs from GitHub releases):
2. Update the WinGet manifest with the new version and installer URLs
106
+
3. Automatically submit a PR to the `microsoft/winget-pkgs` repository
107
+
108
+
**Requirements:**
109
+
- GitHub Personal Access Token with `public_repo` scope
110
+
- Valid installer URLs (must be publicly accessible)
111
+
- Existing package in the WinGet repository
112
+
-**Windows Docker host** or Windows container support (for CI/CD, use `runs-on: windows-latest` in GitHub Actions)
113
+
114
+
**Note:** This function requires Windows containers because `wingetcreate` is a Windows-only tool. On Linux/macOS hosts, this will fail. In GitHub Actions, ensure your workflow uses a Windows runner.
0 commit comments