diff --git a/.github/agents/release.agent.md b/.github/agents/release.agent.md index 510b8091..43acb72f 100644 --- a/.github/agents/release.agent.md +++ b/.github/agents/release.agent.md @@ -18,7 +18,7 @@ Start by reading `package.json` to determine the current version. Then confirm w - **Even minor** = stable release (e.g. `2026.4.0` — *example*) - **Odd minor** = pre-release / dev (e.g. `2026.3.0-dev`, `2026.5.0-dev` — *examples*) -- The stable release pipeline (`build/azure-devdiv-pipeline.stable.yml`) triggers on git tags matching `v*` +- The stable release pipeline (`build/azure-devdiv-pipeline.stable.yml`) triggers on pushes to `release/*` branches - Tag format: `v` (e.g. `v2026.4.0` — *example*) - Release branch format: `release/.` (e.g. `release/2026.4` — *example*) @@ -66,7 +66,9 @@ git checkout main git pull git checkout -b release/2026.4 git push upstream release/2026.4 -``` +``` + +The stable release pipeline triggers automatically when the release branch is pushed to upstream. > ✋ **Confirm**: Is the release branch pushed to upstream? @@ -98,9 +100,9 @@ Goal: Keep `main` moving forward on an odd minor with `-dev` suffix. --- -### Phase 4 — Tag and trigger the pipeline +### Phase 4 — Tag the release -Goal: Push a tag from the release branch to trigger the stable pipeline. +Goal: Tag the release commit for GitHub release tracking. Replace `release/2026.4` and `v2026.4.0` with the actual branch and version: ``` @@ -111,11 +113,11 @@ git tag v2026.4.0 git push upstream v2026.4.0 ``` -The pipeline triggers automatically on the new tag. Navigate to the stable pipeline in Azure DevOps to monitor the run. +The tag marks the release for GitHub. The pipeline was already triggered by the release branch push in Phase 2. Navigate to the stable pipeline in Azure DevOps to monitor progress. When the pipeline completes signing, it will pause for manual validation before publishing. Approve to publish to the VS Code Marketplace. -> ✋ **Confirm**: Has the tag been pushed and the pipeline started? +> ✋ **Confirm**: Has the tag been pushed and is the pipeline running? --- diff --git a/build/azure-devdiv-pipeline.stable.yml b/build/azure-devdiv-pipeline.stable.yml index 6e399140..9cb1ae55 100644 --- a/build/azure-devdiv-pipeline.stable.yml +++ b/build/azure-devdiv-pipeline.stable.yml @@ -1,7 +1,8 @@ name: Publish Release -trigger: - tags: - include: ['v*'] +trigger: + branches: + include: + - 'release/*' pr: none resources: