Skip to content

Commit 953ac24

Browse files
committed
feat: implement Linux-compatible versioning format
- Changed version format from v{YEAR}.{WEEK}-IW.{X} to v{YEAR}.{WEEK}.{X} - Removed hyphens for Linux package compatibility (AppImage, DEB, RPM) - Updated VERSION file to 2025.34.10 - Updated About dialog to show v2025.34.10 - Updated documentation with new versioning strategy This ensures all platforms can build and package correctly.
1 parent a02b365 commit 953ac24

File tree

3 files changed

+28
-19
lines changed

3 files changed

+28
-19
lines changed

CLAUDE.md

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,15 @@ When dealing with background operations and UI updates:
134134
## Versioning and Release Strategy
135135

136136
### Iniationware Version Pattern
137-
**Format**: `v{YEAR}.{WEEK}-IW.{INCREMENT}`
138-
- **Base Version**: Always use the latest official SourceGit release tag (e.g., v2025.34)
139-
- **IW Suffix**: Add `-IW.X` to indicate Iniationware custom features
140-
- **Increment**: Increase the number after IW for each new Iniationware release
137+
**Format**: `v{YEAR}.{WEEK}.{IW_INCREMENT}`
138+
- **Base Version**: Always use the latest official SourceGit release tag (e.g., 2025.34)
139+
- **IW Increment**: Add a third number for Iniationware releases (e.g., .10, .11, .12)
140+
- **No Hyphens**: Linux packaging requires version numbers without hyphens
141141

142142
**Examples**:
143-
- `v2025.34-IW.1` - First Iniationware release based on SourceGit v2025.34
144-
- `v2025.34-IW.5` - Fifth Iniationware release based on same base version
143+
- `v2025.34.10` - Tenth Iniationware release based on SourceGit v2025.34
144+
- `v2025.34.11` - Eleventh Iniationware release based on same base version
145+
- `v2025.35.1` - First Iniationware release based on SourceGit v2025.35
145146

146147
### Creating a New Release
147148

@@ -160,20 +161,28 @@ This script verifies:
160161

161162
#### Creating the Tag
162163
```bash
163-
# 1. Find the latest official SourceGit version (without IW)
164-
git tag --list | grep -v "IW" | grep "v2025" | sort -V | tail -1
164+
# 1. Check current version in VERSION file
165+
cat VERSION
165166

166-
# 2. Find the latest IW version for that base
167-
git tag --list | grep "v2025.34-IW" | sort -V | tail -1
167+
# 2. Find the latest tag (new format without IW)
168+
git tag --list "v2025.34.*" | sort -V | tail -1
168169

169170
# 3. Run pre-tag checks (REQUIRED)
170171
./check_before_tag.sh
171172

172-
# 4. Create new tag with incremented IW number
173-
git tag -a v2025.34-IW.6 -m "Release description..."
173+
# 4. Update VERSION file with new version
174+
echo "2025.34.11" > VERSION
174175

175-
# 5. Push tag to trigger GitHub Actions workflow
176-
git push origin v2025.34-IW.6
176+
# 5. Commit version update
177+
git add VERSION
178+
git commit -m "chore: bump version to 2025.34.11"
179+
180+
# 6. Create new tag (note: no -IW anymore)
181+
git tag -a v2025.34.11 -m "Release description..."
182+
183+
# 7. Push changes and tag to trigger GitHub Actions workflow
184+
git push origin develop
185+
git push origin v2025.34.11
177186
```
178187

179188
### GitHub Actions Workflow
@@ -185,6 +194,6 @@ The `.github/workflows/release.yml` automatically:
185194

186195
### Important Notes
187196
- **Stay on base version**: Don't change the base version (e.g., v2025.34) unless updating to newer SourceGit
188-
- **Only increment IW number**: For Iniationware features, only increase the number after -IW
197+
- **Only increment IW number**: For Iniationware features, only increase the number after Basis-Version
189198
- **Tag triggers workflow**: Pushing a tag automatically starts the release build process
190-
- **Semantic messages**: Use clear, descriptive release notes focusing on added features
199+
- **Semantic messages**: Use clear, descriptive release notes focusing on added features

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025.34-IW.4
1+
2025.34.10

src/Views/About.axaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ public About()
1010
CloseOnESC = true;
1111
InitializeComponent();
1212

13-
// Use hardcoded Iniationware version for now
14-
TxtVersion.Text = "2025.34-IW.4";
13+
// Use Iniationware version format (Year.Week.IWIncrement)
14+
TxtVersion.Text = "v2025.34.10";
1515

1616
var assembly = Assembly.GetExecutingAssembly();
1717
var copyright = assembly.GetCustomAttribute<AssemblyCopyrightAttribute>();

0 commit comments

Comments
 (0)