Skip to content

Commit de16203

Browse files
johnbattyclaude
andauthored
Add release instructions to SKILL.md (microsoft#744)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e91f56b commit de16203

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

SKILL.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,51 @@
1+
# Skills
2+
3+
## Creating a release
4+
5+
### 1. Ensure changes are on main
6+
7+
All changes for the release (dependency updates, bug fixes, etc.) should already be merged to `main`.
8+
9+
### 2. Create a release branch
10+
11+
```sh
12+
git checkout main
13+
git pull
14+
git checkout -b release-X.Y.0
15+
```
16+
17+
### 3. Bump the crate version
18+
19+
Edit `azure_devops_rust_api/Cargo.toml`:
20+
- Update `version = "X.Y.0"`
21+
22+
### 4. Update the README version
23+
24+
Edit `azure_devops_rust_api/README.md`:
25+
- Update the example `Cargo.toml` snippet: `azure_devops_rust_api = { version = "X.Y.0", ... }`
26+
27+
### 5. Update the CHANGELOG
28+
29+
Edit `CHANGELOG.md`:
30+
- Insert `## [X.Y.0]` between `## [Unreleased]` and the existing `### Changes` section (the changes stay, they just move under the new version heading)
31+
- At the bottom of the file, update the version comparison links:
32+
- Change `[Unreleased]` to compare from the new version: `compare/X.Y.0...HEAD`
33+
- Add a new link: `[X.Y.0]: https://github.com/microsoft/azure-devops-rust-api/compare/PREV.0...X.Y.0`
34+
35+
### 6. Commit and push
36+
37+
```sh
38+
git add CHANGELOG.md azure_devops_rust_api/Cargo.toml azure_devops_rust_api/README.md
39+
git commit -m "Release X.Y.0"
40+
git push -u origin release-X.Y.0
41+
```
42+
43+
### 7. Create a PR and merge
44+
45+
Create a PR to `main`. After merging, the crate can be published to crates.io.
46+
47+
---
48+
149
# Updating azure_core and azure_identity
250

351
## Overview

0 commit comments

Comments
 (0)