Skip to content

Commit 4590fc2

Browse files
committed
Use semantic display versions for releases
1 parent 6fef4ac commit 4590fc2

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
$day = [int]$tagName.Substring(6, 2)
3232
$appVersion = "${year}.${month}.${day}"
3333
$displayVersion = $tagName
34-
$releaseTitle = (Get-Content -Path 'src-tauri/tauri.conf.json' -Raw | ConvertFrom-Json).version
34+
$releaseTitle = (Get-Content -Path 'release-display-version.txt' -Raw).Trim()
35+
if ($releaseTitle -notmatch '^\d+\.\d+\.\d+$') {
36+
throw "Unsupported release display version '${releaseTitle}'. Use a semver-like value such as 0.4.0."
37+
}
3538
} else {
3639
throw "Unsupported release tag '${tagName}'. Use YYYYMMDD, for example 20260524."
3740
}

docs/debug-refactor-log.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@
111111
### 2026-06-03: release title cleanup
112112

113113
- Kept existing release tags and assets intact so historical download counts and URLs are preserved.
114-
- Updated the release workflow to name future releases from the product version, such as `0.3.3`, instead of leaving the title as the raw `YYYYMMDD` tag.
114+
- Updated the release workflow to name future releases from `release-display-version.txt`, such as `0.4.0`, instead of leaving the title as the raw `YYYYMMDD` tag.
115+
- Renamed existing GitHub Release titles to an artificial semver-style sequence from `0.1.0` through `0.4.0`; tags and assets were left unchanged.
115116

116117
### Additional frontend stability
117118

docs/skill-graph/domains/decision-log.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Launcherg-Modの継続改善に影響する判断を残す場所です。量が
378378
## 2026-06-03: リリースタグは維持し、タイトルだけバージョン表示に寄せる
379379

380380
- Context: 既存 GitHub Release の asset には download_count があり、release や asset を削除・再作成すると履歴が失われる。
381-
- Decision: 既存の `YYYYMMDD` タグと asset は維持し、Release title だけ `0.3.3` のような製品バージョン形式へ更新する。今後の release workflow も同じ title を明示する
381+
- Decision: 既存の `YYYYMMDD` タグと asset は維持し、Release title だけ `0.1.0` から `0.4.0` までの人工的な semver 形式へ更新する。今後の release workflow `release-display-version.txt` の値を title として使う
382382
- Rationale: タグや asset URL の互換性を守りながら、GitHub の Release 一覧で日付タグがそのままタイトルに見える状態を避けられる。
383383
- Consequence: タグ URL と download URL は従来どおり日付タグを含む。完全な semver タグ移行は別判断として扱う。
384384
- Links: [[maintenance-routine]], [[quality-gates]]

release-display-version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.4.0

0 commit comments

Comments
 (0)