<< All versions
Skill v1.0.0
currentTrusted Publisher100/100microsoft/directxtex/release
──Details
PublishedJuly 9, 2026 at 06:44 AM
Content Hashsha256:a3dd348a9e1a12da...
Git SHA
──Files
Files (1 file, 5.5 KB)
SKILL.md5.5 KBactive
SKILL.md · 85 lines · 5.5 KB
version: "1.0.0" name: Release Process description: Guide for performing the DirectXTex release process. Use this skill when asked to help with releasing a new version, publishing packages, or updating ports.
Release Process
Prerequisites
- All changes merged into the
mainbranch with all tests passing. - GPG signing configured for your GitHub account (for verified tags).
- Access to the MSCodeHub mirror repository and Azure DevOps pipelines.
- Local repositories:
- VCPKG at
d:\vcpkg(synced withmainbranch) - WinGet at
D:\winget-pkgs(synced withmasterbranch, only if tool updates needed) - PATs will be needed for scripts that access GitHub and ADO.
<!-- markdownlint-disable MD029 -->
Steps
Phase 1: Prepare Release
- Git pull the local repository to ensure it is up to date with the
mainbranch. - Run the PowerShell script
build\preparerelease.ps1which will generate a topic branch for the release, update the version number inCMakeLists.txt, theREADME.mdfile, the release notes in the nuspec files, and create a stub in theCHANGELOG.mdfile for the new release. - Edit the
CHANGELOG.mdfile to update it with a summary of changes. - Submit the topic branch for review and merge into
mainonce approved. Allow the GitHub Actions workflows and the Azure DevOps pipelines to complete successfully before proceeding.
Phase 2: Tag and Create GitHub Release
- Run the PowerShell script
build\completerelease.ps1which will set a tag on the project repo and the test repo, and create a release on GitHub with the release notes fromCHANGELOG.md. Ensure you have set up GPG signing for your GitHub account so that the tags will be verified. - Git pull the local repository to ensure it is up to date with the
mainbranch. Be sure to include--tags.
Phase 3: MSCodeHub and Signed Binaries
- Push the
mainbranch to the MSCodeHub mirror repository. Be sure to include--tags. - Create a PR on MSCodeHub from the
mainbranch to thereleasebranch. - Merge the PR on MSCodeHub to update the release branch, which will trigger the Azure DevOps pipeline to build signed binaries and the NuGet packages.
- Run the PowerShell script
build\downloadbuild.ps1to download the signed binaries from the Azure DevOps pipeline artifacts. - Edit the GitHub release and upload the signed binaries to the release assets.
Phase 4: Source Archive Signing
- Download the GitHub source .zip archive from the release. Unzip and compare to the local repo to ensure it matches — keep in mind there may be some CR/LF differences.
- Run minisign on the .zip to generate a signature file, and upload the signature file to the release assets.
Phase 5: NuGet Validation and Publishing
- Validate the NuGet packages with <https://github.com/walbourn/contentexporter> by pushing the NuGet packages to a local Packages Source folder, updating the NuGet packages from that folder, and then build the project.
- Run the PowerShell script
build\promotenuget.ps1 -Version <version> -Releaseto promote the version to the Release view on the project-scoped ADO feed. The-Versionparameter is required and should match the NuGet package version (e.g.,2026.6.2.1). - Run the MSCodeHub pipeline to publish the NuGet packages to nuget.org. The pipeline will automatically push the most recent package promoted to the Release view to nuget.org.
Phase 6: VCPKG Port Update
- Git pull a local repository of VCPKG to
d:\vcpkgin sync with themainbranch of the VCPKG repository. - Run the PowerShell script
build\updatevcpkg.ps1to update the DirectXTex port in VCPKG with the new release version. This will edit the files inports\directxtex.
If the port includes patches, review them to determine if they should be removed or updated for the new release (the updatevcpkg.ps1 script will warn about this).
- Test the VCPKG port using the script at
assets/vcpkgdxtex.cmd(in this skill folder). Copy it tod:\vcpkgand run from there after bootstrapping VCPKG. - Run
.\vcpkg x-add-version directxtexto update the VCPKG versioning history. - Submit a PR to the VCPKG repository to update the DirectXTex port back to the main GitHub repo. The PR will be reviewed and merged by the VCPKG maintainers.
Phase 7: WinGet Manifests (Conditional)
If relevant changes were made to the texassemble, texconv or texdiag tools:
- Git pull a local repository to
D:\winget-pkgsin sync with themasterbranch of the WinGet repository. - Run the PowerShell script
build\updatewinget.ps1to update the winget manifests for the tools with the new release version. - Submit a PR to the
wingetrepository to update the manifests for each tool — they must be done as distinct PRs. The PRs will be reviewed and merged by the winget maintainers.
Phase 8: Finalize
When fully completed, be sure to update the GitHub release with links to the matching NuGet packages, the VCPKG port, and the winget manifests for the tools.
Key Scripts
| Script | Purpose | |
|---|---|---|
build\preparerelease.ps1 | Creates topic branch, updates version numbers and changelog stub | |
build\completerelease.ps1 | Sets tags, creates GitHub release from changelog | |
build\downloadbuild.ps1 | Downloads signed binaries from Azure DevOps | |
build\promotenuget.ps1 | Promotes NuGet package to Release view on ADO feed | |
build\updatevcpkg.ps1 | Updates DirectXTex VCPKG port files | |
assets\vcpkgdxtex.cmd | Tests VCPKG port across all triplets and features | |
build\updatewinget.ps1 | Updates winget manifests for CLI tools |