-
Notifications
You must be signed in to change notification settings - Fork 99
Tags & Releases
Darren edited this page Jun 7, 2021
·
3 revisions
To deploy a new release for a particular sample code or tool (e.g. Windows Voice Assistant Client) do the following:
- Find the most recent successful Azure DevOps build of this repo (MS-internal link)
- Download and unzip the relevant artifact to you local machine (e.g. WindowsVoiceAssistantClient-YYYYMMDD.#.zip for the Windows Voice Assistant Client)
- Note the build number YYYYMMDD.#
- Test it thoroughly
- Check out the Main branch in your local repo, and make sure it's up to date (git pull)
- Create a new tag named after the build number, with a message that identifies the sample code. For example:
- git tag -a 20200410.9 -m "Windows Voice Assistant Client"
- List tags to make sure it was created:
- git tag -l
- Push the tag to the remote master branch:
- git push origin 20200410.9
- Open the Tags tab on the GitHub repo website
- You should see the new tag there. Click on the "..." on the right and select "Create release"
- Fill in the title. It should be the name of the sample code / tool, followed by the version number (e.g. "Windows Voice Assistant Client 1.17"
- Attach the artifact binary (e.g. WindowsVoiceAssistantClient-YYYYMMDD.#.zip)
- Leave the box "This is a pre-release" unchecked
- Press "Publish release". Done!
Click here to learn more about Git tagging, including how to delete a tag.