talk-desktop icon indicating copy to clipboard operation
talk-desktop copied to clipboard

build/winget

Open ShGKme opened this issue 9 months ago • 0 comments

⚠️⚠️⚠️⚠️⚠️⚠️ ⚠️ Do not merge ⚠️ ⚠️⚠️⚠️⚠️⚠️⚠️

How to publish a package

1. Install create tool on Windows, use pwsh

winget install wingetcreate

2. Add a new manifest

Replace ($version) with a new version number e.g. 1.2.3.

Set the release date manually, if publishing not on the same day.

Stable

# Stable
wingetcreate update Nextcloud.Talk -u https://github.com/nextcloud-releases/talk-desktop/releases/download/v($version)/Nextcloud.Talk-windows-x64.exe -v ($version) --release-date (Get-Date -Format "yyyy-MM-dd")
### Beta
wingetcreate update Nextcloud.Talk.Beta -u https://github.com/nextcloud-releases/talk-desktop/releases/download/v($version)/Nextcloud.Talk-beta-windows-x64.exe -v ($version) --release-date (Get-Date -Format "yyyy-MM-dd")

3. Verify

Stable

# Validate
winget validate --manifest .\manifests\n\Nextcloud\Talk\($version)

# Install
winget install --manifest .\manifests\n\Nextcloud\Talk\($version)

Beta

# Validate
winget validate --manifest .\manifests\n\Nextcloud\Talk\Beta\($version)

# Install
winget install --manifest .\manifests\n\Nextcloud\Talk\Beta\($version)

4. Submit

Stable

wingetcreate submit .\manifests\n\Nextcloud\Talk\($version)

Beta

wingetcreate submit .\manifests\n\Nextcloud\Talk\Beta\($version)

Proceed in the web-browser in the GitHub Pull Request

5. Update this branch

Rebase onto main and push changes

ShGKme avatar Jan 22 '25 14:01 ShGKme