forked from git-for-windows/git
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lessley Dennington
committed
Apr 29, 2021
1 parent
c087afa
commit fdeeaa4
Showing
1 changed file
with
38 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: "release-winget" | ||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: update-winget | ||
name: Update winget repository | ||
uses: mjcheetham/update-winget@v1.2 | ||
with: | ||
id: Microsoft.Git | ||
token: ${{ secrets.WINGET_TOKEN }} | ||
releaseAsset: Git-\[0-9.vfs]*\-64-bit.exe | ||
manifestText: | | ||
PackageIdentifier: {{id}} | ||
PackageVersion: {{version}} | ||
PackageName: Microsoft Git | ||
Publisher: Microsoft Corporation | ||
Moniker: microsoft-git | ||
PackageUrl: https://aka.ms/ms-git | ||
Tags: [ microsoft/git ] | ||
License: Copyright (C) Microsoft Corporation | ||
ShortDescription: | | ||
Git distribution to support monorepo scenarios. | ||
Note: This is not Git for Windows. Unless you are working in a monorepo and require | ||
specific Git modifications, please run `winget install git` to start using Git for Windows. | ||
Installers: | ||
- Architecture: x64 | ||
InstallerUrl: {{url}} | ||
InstallerType: inno | ||
InstallerSha256: {{sha256}} | ||
PackageLocale: en-US | ||
ManifestType: singleton | ||
ManifestVersion: 1.0.0 | ||
alwaysUsePullRequest: true |