Skip to content

Commit b2e57f4

Browse files
aksOpsclaude
andcommitted
Reset versioning to 0.0.0 and use incremental beta numbering
Changed base version from 0.1.0 to 0.0.0 and replaced commit-count beta numbering with tag-based incremental numbering (starts at 0, increments by 1 per release). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 495c281 commit b2e57f4

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/beta.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,13 @@ jobs:
3434
id: version
3535
run: |
3636
BASE=$(python3 -c "import tomli; print(tomli.load(open('pyproject.toml','rb'))['project']['version'])")
37-
if git describe --tags --match "v*" HEAD 2>/dev/null; then
38-
BETA_NUM=$(git rev-list "$(git describe --tags --match 'v*' --abbrev=0 HEAD)"..HEAD --count)
37+
# Find latest beta tag number and increment by 1 (starts at 0)
38+
LATEST=$(git tag -l "v${BASE}-beta.*" --sort=-v:refname | head -n1)
39+
if [ -n "$LATEST" ]; then
40+
LAST_NUM=$(echo "$LATEST" | sed "s/v${BASE}-beta\.//")
41+
BETA_NUM=$((LAST_NUM + 1))
3942
else
40-
BETA_NUM=$(git rev-list HEAD --count)
43+
BETA_NUM=0
4144
fi
4245
# PEP 440 beta: 0.1.0b0, 0.1.0b1, ...
4346
PEP_VERSION="${BASE}b${BETA_NUM}"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "code-intelligence"
7-
version = "0.1.0"
7+
version = "0.0.0"
88
description = "CLI tool for intelligent code graph discovery and analysis"
99
requires-python = ">=3.11"
1010
dependencies = [

0 commit comments

Comments
 (0)