From 594d2b46a6ff61a3bd0aaf84b9166f88719c0519 Mon Sep 17 00:00:00 2001 From: Lessley Dennington Date: Fri, 18 Jun 2021 11:50:13 -0700 Subject: [PATCH 1/2] Update winget manifest --- .github/workflows/release-winget.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-winget.yml b/.github/workflows/release-winget.yml index f34cdfd0598d8d..3f169cbb84918f 100644 --- a/.github/workflows/release-winget.yml +++ b/.github/workflows/release-winget.yml @@ -9,20 +9,20 @@ jobs: steps: - id: update-winget name: Update winget repository - uses: mjcheetham/update-winget@v1.2.2 + uses: mjcheetham/update-winget@v1.3.2 with: id: Microsoft.Git token: ${{ secrets.WINGET_TOKEN }} releaseAsset: Git-([0-9.vfs]*)\-64-bit.exe manifestText: | PackageIdentifier: {{id}} - PackageVersion: {{version}} + PackageVersion: {{version:s/\.[A-Za-z]+\././}} PackageName: Microsoft Git - Publisher: Microsoft Corporation + Publisher: The Git Client Team at GitHub Moniker: microsoft-git PackageUrl: https://aka.ms/ms-git Tags: [ microsoft-git ] - License: Copyright (C) Microsoft Corporation + License: GPLv2 ShortDescription: | Git distribution to support monorepo scenarios. Note: This is not Git for Windows. Unless you are working in a monorepo and require @@ -32,9 +32,7 @@ jobs: InstallerUrl: {{url}} InstallerType: inno InstallerSha256: {{sha256}} - InstallerSwitches: - Custom: /COMPONENTS="AUTOUPDATE" PackageLocale: en-US ManifestType: singleton ManifestVersion: 1.0.0 - alwaysUsePullRequest: true + alwaysUsePullRequest: true From 532631541bb08490d965b482cc142eadb2449a2f Mon Sep 17 00:00:00 2001 From: Lessley Dennington Date: Fri, 18 Jun 2021 11:51:29 -0700 Subject: [PATCH 2/2] Fix alwaysUsePullRequest indentation --- .github/workflows/release-winget.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-winget.yml b/.github/workflows/release-winget.yml index 3f169cbb84918f..f1f694a4108de4 100644 --- a/.github/workflows/release-winget.yml +++ b/.github/workflows/release-winget.yml @@ -35,4 +35,4 @@ jobs: PackageLocale: en-US ManifestType: singleton ManifestVersion: 1.0.0 - alwaysUsePullRequest: true + alwaysUsePullRequest: true