Skip to content

Commit 260fe4c

Browse files
bschnurrCopilot
andauthored
Update release agent: explicit PR steps for dev bump (#1007)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4ef282d commit 260fe4c

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

.github/agents/release.agent.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The stable release pipeline triggers automatically when the release branch is pu
7676
7777
### Phase 3 — Advance `main` back to dev
7878
79-
Goal: Keep `main` moving forward on an odd minor with `-dev` suffix.
79+
Goal: Keep `main` moving forward on the next **odd** minor version with `-dev` suffix. Stable releases use even minor versions; dev versions use odd.
8080
8181
1. From `main` (or a new branch off it, replacing `2026.5.0-dev` with the actual next dev version):
8282
```
@@ -88,13 +88,18 @@ Goal: Keep `main` moving forward on an odd minor with `-dev` suffix.
8888
- From: the stable version just released (e.g. `2026.4.0` — *example*)
8989
- To: the next odd minor with `-dev` suffix (e.g. `2026.5.0-dev` — *example*)
9090
91-
3. Commit, push, and merge via PR (replace `2026.5.0-dev` with the actual next dev version):
92-
```
93-
git add package.json
94-
git commit -m "Bump version to 2026.5.0-dev"
95-
git push origin bump/2026.5.0-dev
91+
3. Commit and push (replace `2026.5.0-dev` with the actual next dev version):
92+
```
93+
git add package.json
94+
git commit -m "Bump version to 2026.5.0-dev"
95+
git push origin bump/2026.5.0-dev
96+
```
97+
98+
4. Create a PR targeting `main`, add the `debt` label, and enable auto-merge:
99+
```
100+
gh pr create --base main --title "Bump version to 2026.5.0-dev" --body "Advance main to the next odd minor pre-release development version." --label debt
101+
gh pr merge <PR_NUMBER> --squash --auto
96102
```
97-
Open a PR targeting `main` and merge it.
98103
99104
> ✋ **Confirm**: Has `main` been updated to the next dev version?
100105

build/azure-devdiv-pipeline.stable.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,3 @@ extends:
140140
ghCreateRelease: true
141141
ghReleaseAddChangeLog: true
142142
customNPMRegistry: $(AZURE_ARTIFACTS_FEED)
143-

0 commit comments

Comments
 (0)