Browse Source

Updated winget.yml

pull/627/head
Dmitry Nefedov 11 months ago
parent
commit
70bb8767df
  1. 22
      .github/workflows/winget.yml
  2. 2
      chocolatey/sophia.nuspec

22
.github/workflows/winget.yml

@ -14,14 +14,14 @@ jobs:
}
$Latest_Release = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_11_PowerShell_5_1
- name: Publish Sophia Script for Windows (Windows 11)
# https://github.com/vedantmgoyal9/winget-releaser
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: TeamSophia.SophiaScript
version: $Latest_Release
release-tag: $Latest_Release
installers-regex: "Sophia.Script.for.Windows.11.v$($Latest_Release).zip"
release-notes-url: https://github.com/farag2/Sophia-Script-for-Windows/blob/master/CHANGELOG.md
# https://github.com/settings/tokens
token: ${{ secrets.WINGET_TOKEN }}
$installerUrl = https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$Latest_Release/Sophia.Script.for.Windows.11.v$Latest_Release.zip
- name: Create winget PR
run: |
$Parameters = @{
Uri = "https://aka.ms/wingetcreate/latest"
OutFile = "wingetcreate.exe"
}
Invoke-WebRequest @Parameters
& wingetcreate.exe update TeamSophia.SophiaScript --urls $installerUrl --version $Latest_Release --token "${{ secrets.WINGET_TOKEN }}" --submit

2
chocolatey/sophia.nuspec

@ -16,7 +16,7 @@
<projectSourceUrl>https://github.com/farag2/Sophia-Script-for-Windows</projectSourceUrl>
<docsUrl>https://github.com/farag2/Sophia-Script-for-Windows/blob/master/README.md</docsUrl>
<bugTrackerUrl>https://github.com/farag2/Sophia-Script-for-Windows/issues</bugTrackerUrl>
<tags>windows gui script powershell tweaks windows-10 sophia tweaker tweak debloat debloating ltsc windows-11 debloater windows-debloat sophia-script 22h2 23h2 24h2 </tags>
<tags>windows gui script powershell tweaks windows-10 sophia tweaker tweak debloat debloating ltsc windows-11 debloater windows-debloat sophia-script 22h2 23h2 24h2</tags>
<summary>The most powerful PowerShell module on GitHub for Windows 10 and Windows 11 fine-tuning and tweaking</summary>
<description>Sophia Script for Windows is the largest PowerShell module on GitHub for Windows 10 and Windows 11 fine-tuning and automating the routine tasks</description>
<releaseNotes>https://github.com/farag2/Sophia-Script-for-Windows/blob/master/CHANGELOG.md</releaseNotes>

Loading…
Cancel
Save