Skip to content
This repository was archived by the owner on Jul 8, 2026. It is now read-only.

Commit 77d9b55

Browse files
committed
Updating documentation to new base standard
1 parent 9792f60 commit 77d9b55

3 files changed

Lines changed: 17 additions & 4 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/penguin/code/.claude/skills/microk8s-images/SKILL.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/penguin/code/.claude/skills/microk8s-setup/SKILL.md

CLAUDE.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,23 @@ project-name/
137137
- **Patch**: Minor updates, bug fixes, security patches
138138
- **Build**: Epoch64 timestamp of build time
139139

140+
### ⚠️ Version Increment Rule
141+
142+
**Only increment Major/Minor/Patch when the current version already has a published git tag and/or GitHub release.** If no tag/release exists for the current version yet, update only the build epoch.
143+
144+
**Rationale:** Incrementing a version before the current one ships creates gaps in the published sequence (e.g., `v1.2.1``v1.2.4` with no `v1.2.2` or `v1.2.3` ever released). Consumers, changelogs, and package managers see these gaps as missing releases, which is confusing and looks like a mistake.
145+
146+
**Decision flow:**
147+
1. Check if the current `.version` is already tagged: `git tag --list "$(cat .version | cut -d. -f1-3)*"`
148+
2. If **no tag exists** → only update the build epoch: `./scripts/version/update-version.sh`
149+
3. If **a tag already exists** → safe to increment: `./scripts/version/update-version.sh patch|minor|major`
150+
140151
**Update Commands**:
141152
```bash
142-
./scripts/version/update-version.sh # Increment build timestamp
143-
./scripts/version/update-version.sh patch # Increment patch version
144-
./scripts/version/update-version.sh minor # Increment minor version
145-
./scripts/version/update-version.sh major # Increment major version
153+
./scripts/version/update-version.sh # Update build epoch ONLY (use when no tag yet)
154+
./scripts/version/update-version.sh patch # Increment patch (only after current version is tagged)
155+
./scripts/version/update-version.sh minor # Increment minor (only after current version is tagged)
156+
./scripts/version/update-version.sh major # Increment major (only after current version is tagged)
146157
```
147158

148159
## Development Workflow

0 commit comments

Comments
 (0)