Skip to content

Releasing

Marcus Markiewicz edited this page Sep 6, 2024 · 9 revisions
  1. First, make sure your local repo is fully up-to-date.
git checkout main
git pull
  1. Run gitversion to get the version tag from the "InformationalVersion" property. Example: 0.1.0-ci.102+Branch.main.Sha.f32c6464d690df26e059321c9168f09d12b99e99.
gitversion
  1. Create a tag with the version number and push it.
git tag -a <version> -m "<version>" 
git push origin <version> 
  1. The CD workflow will pick up the release, build and upload the MSIs to the Assets of the Release.

  2. Go to the Releases edit the draft release.

  1. If you have not installed wingetcreate, do so now:
winget install wingetcreate
  1. Create the new manifest using wingetcreate. Note that by passing "-i", you will be prompted interactively to enter the installer URI (from above), etc./
wingetcreate.exe update -i -v <new version, e.g.: 0.1.3> -s Microsoft.TeamMate
  1. If for some reason the manifest is created but not submitted, submit the new manifest as a PR to microsoft/winget-pkgs:
wingetcreate.exe submit <path to manifest, e.g.: c:\temp\manifests\m\Microsoft\TeamMate\0.1.3>
  1. Go through the approval process with the PR. Be patient, their volume is large, and they are doing their best.

  2. Update GitVersion.yml in TeamMate with the next version and send a PR.

  3. Done.

Clone this wiki locally