Skip to content

Commit ba09e68

Browse files
authored
Revise versioning strategy in AGENTS.md
Updated versioning strategy to year-based format combined with pull request number for better tracking.
1 parent 6bb7026 commit ba09e68

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

AGENTS.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,22 @@ Last updated: 2026-03-13. If stale (>7 days), verify Status section against code
5555
- **Authentication:** SSO logic is centralized in `entrypoints/popup/sso.ts`.
5656

5757
## 📦 Versioning
58-
The project now uses **Pull Request Number** as the version identifier for tracking changes.
58+
The project now uses a **year-based versioning strategy** combined with the **Pull Request Number** for tracking changes.
5959

60-
When a new pull request is triggered and merged, its pull request number is automatically assigned as the version (e.g., PR #56 results in `v56`).
60+
When a new pull request is triggered and merged, the version identifier is generated automatically in the format `vYY.NUM.0`, where:
61+
- `YY`: The last two digits of the current year (e.g., `2026``26`).
62+
- `NUM`: The pull request number.
63+
- `0`: A fixed trailing digit for the version.
6164

62-
- **Version:** The pull request number (`v<PR_NUMBER>`).
65+
This mechanism ensures simplified version tracking and aligns with the project changes over time.
6366

64-
This new mechanism ensures simplified version tracking and eliminates the need for manual increments.
67+
### Version Format:
68+
`vYY.NUM.0`
6569

6670
### Example:
67-
- Pull Request #45 → Version: `v45`
68-
- Pull Request #99 → Version: `v99`
71+
- Year: `2026`, Pull Request #42 → Version: `v26.42.0`
72+
- Year: `2026`, Pull Request #123 → Version: `v26.123.0`
73+
- Year: `2027`, Pull Request #1 → Version: `v27.1.0`
6974

7075

7176
## 🛠 Common Commands
@@ -74,4 +79,4 @@ This new mechanism ensures simplified version tracking and eliminates the need f
7479
- `npm run build`: Build for production (manifest v3).
7580
- `npm run build:firefox`: Build for production (manifest v2).
7681
- `npm run zip`: Package the extension for Chrome (manifest v3).
77-
- `npm run zip:firefox`: Package the extension for Firefox (manifest v2).
82+
- `npm run zip:firefox`: Package the extension for Firefox (manifest v2).

0 commit comments

Comments
 (0)