Skip to content

Commit 35527ba

Browse files
committed
Prepare 0.6.1 release metadata
1 parent cda2d55 commit 35527ba

4 files changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
$tagName = "${{ steps.variables.outputs.tag_name }}"
109109
$appVersion = "${{ steps.variables.outputs.app_version }}"
110110
$displayVersion = "${{ steps.variables.outputs.display_version }}"
111+
$releaseTitle = "${{ steps.variables.outputs.release_title }}"
111112
$builtArtifactName = "Launcherg_${appVersion}_x64_ja-JP.msi.zip"
112113
$releaseArtifactName = "Launcherg_${displayVersion}_x64_ja-JP.msi.zip"
113114
$builtArtifactPath = "src-tauri/target/release/bundle/msi/${builtArtifactName}"
@@ -141,7 +142,7 @@ jobs:
141142
142143
$uiInfo = @{
143144
version = $appVersion
144-
displayVersion = $displayVersion
145+
displayVersion = $releaseTitle
145146
pubDate = $pubDate
146147
demoUrl = "${{ env.DEMO_URL }}"
147148
releaseUrl = "${{ env.RELEASE_URL }}/tag/${tagName}"
@@ -166,6 +167,16 @@ jobs:
166167
if ([string]::IsNullOrWhiteSpace($data.signature)) {
167168
throw "Updater signature is empty."
168169
}
170+
$uiInfo = Get-Content -Path "update-info.json" -Raw | ConvertFrom-Json
171+
if ($uiInfo.version -ne $appVersion) {
172+
throw "Unexpected update UI metadata version: $($uiInfo.version)"
173+
}
174+
if ($uiInfo.displayVersion -ne "${{ steps.variables.outputs.release_title }}") {
175+
throw "Unexpected update UI display version: $($uiInfo.displayVersion)"
176+
}
177+
if ($uiInfo.releaseUrl -ne "${{ env.RELEASE_URL }}/tag/${tagName}") {
178+
throw "Unexpected update UI release URL: $($uiInfo.releaseUrl)"
179+
}
169180
Write-Host "Updater manifest verified: version=$($data.version), url=$($data.url)"
170181
171182
- name: Format generated metadata

docs/debug-refactor-log.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
- Kept existing release tags and assets intact so historical download counts and URLs are preserved.
114114
- Updated the release workflow to name future releases from `release-display-version.txt`, such as `0.6.0`, instead of leaving the title as the raw `YYYYMMDD` tag.
115115
- Renamed existing GitHub Release titles to an artificial semver-style sequence from `0.1.0` through `0.6.0`; only large change ranges advance the minor version, while smaller updates use patch versions. Tags and assets were left unchanged.
116+
- Set the next display version to `0.6.1` and changed release-generated `update-info.json` to expose that display version while keeping the updater comparison version date-based.
116117

117118
### Additional frontend stability
118119

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.1.0` から `0.6.0` までの人工的な semver 形式へ更新する。大きい差分のリリースだけ minor を進め、小さい更新は patch として扱う。今後の release workflow は `release-display-version.txt` の値を title として使う。
381+
- Decision: 既存の `YYYYMMDD` タグと asset は維持し、Release title だけ `0.1.0` から `0.6.1` までの人工的な semver 形式へ更新する。大きい差分のリリースだけ minor を進め、小さい更新は patch として扱う。今後の 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6.0
1+
0.6.1

0 commit comments

Comments
 (0)