diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7821933..6822265c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,9 @@ name: Release on: workflow_dispatch +permissions: + contents: read + jobs: build: name: Publish a release @@ -369,3 +372,25 @@ jobs: run: |- gh release upload ${{ needs.build.outputs.new_tag }} dist/vws-macos --clobber gh release upload ${{ needs.build.outputs.new_tag }} dist/vuforia-cloud-reco-macos --clobber + + publish-to-winget: + name: Publish to WinGet + needs: [build, build-windows] + runs-on: windows-latest + permissions: + contents: read + + steps: + - uses: vedantmgoyal9/winget-releaser@v2 + with: + identifier: VWSPython.vws-cli + version: ${{ needs.build.outputs.new_tag }} + installers-regex: ^vws-windows\.exe$ + token: ${{ secrets.WINGET_TOKEN }} + + - uses: vedantmgoyal9/winget-releaser@v2 + with: + identifier: VWSPython.vuforia-cloud-reco + version: ${{ needs.build.outputs.new_tag }} + installers-regex: ^vuforia-cloud-reco-windows\.exe$ + token: ${{ secrets.WINGET_TOKEN }} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d30046df..2d78e91c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,8 @@ Changelog Next ---- +* Add support for installing with winget on Windows. + 2026.01.25.1 ------------ diff --git a/README.rst b/README.rst index 002368f2..624fe1ec 100644 --- a/README.rst +++ b/README.rst @@ -69,6 +69,18 @@ To use ``vuforia-cloud-reco``: $ docker run --rm --entrypoint vuforia-cloud-reco "ghcr.io/vws-python/vws-cli" --help +With winget (Windows) +^^^^^^^^^^^^^^^^^^^^^ + +Requires `winget`_. + +.. code-block:: console + + $ winget install --id VWSPython.vws-cli --source winget --exact + $ winget install --id VWSPython.vuforia-cloud-reco --source winget --exact + +.. _winget: https://docs.microsoft.com/windows/package-manager/winget/ + Pre-built Linux binaries ^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/docs/source/install.rst b/docs/source/install.rst index f264f830..157d0eaf 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -61,6 +61,18 @@ To use ``vuforia-cloud-reco``: $ docker run --rm --entrypoint vuforia-cloud-reco "|docker-image|" --help +With winget (Windows) +~~~~~~~~~~~~~~~~~~~~~ + +Requires winget_. + +.. code-block:: console + + $ winget install --id VWSPython.vws-cli --source winget --exact + $ winget install --id VWSPython.vuforia-cloud-reco --source winget --exact + +.. _winget: https://docs.microsoft.com/windows/package-manager/winget/ + Pre-built Linux (x86) binaries ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/source/release-process.rst b/docs/source/release-process.rst index 29c8d079..ef379676 100644 --- a/docs/source/release-process.rst +++ b/docs/source/release-process.rst @@ -8,6 +8,7 @@ Outcomes * A new package on PyPI. * A new Homebrew recipe available to install. * A new Docker image on GitHub Container Registry. +* New Winget packages available to install. Perform a Release ~~~~~~~~~~~~~~~~~ diff --git a/spelling_private_dict.txt b/spelling_private_dict.txt index e35df8e9..0288fa84 100644 --- a/spelling_private_dict.txt +++ b/spelling_private_dict.txt @@ -1,3 +1,4 @@ +Winget admin api args @@ -36,3 +37,4 @@ versioned vuforia vwq vws +winget