diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index 8bd537f..6df20dc 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -108,8 +108,15 @@ jobs: msdl --list # list all products ``` + submit-winget: + # wingetcreate is a native Windows tool (needs .NET 6 + VC++ Redistributable) -- + # it is NOT published as a NuGet/dotnet-tool package, so it can only run on a + # windows-latest runner, not ubuntu-latest like the release job above. + needs: release + runs-on: windows-latest + steps: - name: Submit winget update - if: success() + shell: bash env: WINGET_TOKEN: ${{ secrets.WINGET_TOKEN }} run: | @@ -117,10 +124,10 @@ jobs: echo "WINGET_TOKEN not set, skipping winget update" exit 0 fi - dotnet tool install --global wingetcreate + curl -L -o wingetcreate.exe https://github.com/microsoft/winget-create/releases/latest/download/wingetcreate.exe VERSION="${{ github.ref_name }}" VERSION="${VERSION#cli/v}" - wingetcreate update starkSV.msdl \ + ./wingetcreate.exe update starkSV.msdl \ --version "$VERSION" \ --urls "https://github.com/starkSV/windows-iso-downloader/releases/download/${{ github.ref_name }}/msdl-windows-amd64.exe" \ --submit \ diff --git a/backend/main.go b/backend/main.go index 9d274d7..c112de2 100644 --- a/backend/main.go +++ b/backend/main.go @@ -43,7 +43,7 @@ const ( CUSTOMER_ID = "560dc9f3-1aa5-4a2f-b63c-9e18f8d0e175" PORT = ":3002" - latestCLIVersion = "0.3.6" + latestCLIVersion = "0.3.7" ) // --- Session cache (short-lived, used to chain /skuinfo → /proxy) --- diff --git a/winget/manifests/starkSV.msdl.installer.yaml b/winget/manifests/starkSV.msdl.installer.yaml index 593d863..037cde7 100644 --- a/winget/manifests/starkSV.msdl.installer.yaml +++ b/winget/manifests/starkSV.msdl.installer.yaml @@ -1,5 +1,5 @@ PackageIdentifier: starkSV.msdl -PackageVersion: 0.3.6 +PackageVersion: 0.3.7 Platform: - Windows.Desktop MinimumOSVersion: 10.0.0.0 @@ -8,7 +8,7 @@ Commands: - msdl Installers: - Architecture: x64 - InstallerUrl: https://github.com/starkSV/windows-iso-downloader/releases/download/cli%2Fv0.3.6/msdl-windows-amd64.exe - InstallerSha256: 663690BCD5E95C91BA4E32171D243D9BD7C173E916332CDFF9EA16764F6DE6DA + InstallerUrl: https://github.com/starkSV/windows-iso-downloader/releases/download/cli%2Fv0.3.7/msdl-windows-amd64.exe + InstallerSha256: 44E9225BFE12DCE801301C2A68CBC114F57BA3313F775740BFC9A83CD87A431F ManifestType: installer ManifestVersion: 1.6.0 diff --git a/winget/manifests/starkSV.msdl.locale.en-US.yaml b/winget/manifests/starkSV.msdl.locale.en-US.yaml index 614e659..24da1ba 100644 --- a/winget/manifests/starkSV.msdl.locale.en-US.yaml +++ b/winget/manifests/starkSV.msdl.locale.en-US.yaml @@ -1,5 +1,5 @@ PackageIdentifier: starkSV.msdl -PackageVersion: 0.3.6 +PackageVersion: 0.3.7 PackageLocale: en-US Publisher: starkSV PublisherUrl: https://github.com/starkSV diff --git a/winget/manifests/starkSV.msdl.yaml b/winget/manifests/starkSV.msdl.yaml index 7115fdd..14b5c9e 100644 --- a/winget/manifests/starkSV.msdl.yaml +++ b/winget/manifests/starkSV.msdl.yaml @@ -1,5 +1,5 @@ PackageIdentifier: starkSV.msdl -PackageVersion: 0.3.6 +PackageVersion: 0.3.7 DefaultLocale: en-US ManifestType: version ManifestVersion: 1.6.0