From 82142758da289213cee14a1e7ebd1ef7b6a98ddb Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Nov 2026 07:55:31 +0900 Subject: [PATCH] Fix endless update prompt: bump to 0.9.2, point updater at MinaryHub/HanEng v0.9.1 was tagged without bumping Cargo.toml, so the app and its MSI reported 0.9.0. The settings app therefore always offered v0.9.1, and installing it changed nothing (same MSI version, no upgrade). - Bump workspace version to 0.9.2 (Cargo.toml, Cargo.lock) - update.rs and README: knoxxr/haneng -> MinaryHub/HanEng - release.yml: refuse to package when the tag and Cargo.toml disagree - CHANGELOG: 0.9.2 entry Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01A9NzuGnQqXsF9sxjKMHWWZ --- .github/workflows/release.yml | 14 ++++++++++++++ CHANGELOG.md | 14 ++++++++++++++ Cargo.lock | 8 ++++---- Cargo.toml | 2 +- README.md | 2 +- crates/haneng-settings/src/update.rs | 2 +- 6 files changed, 35 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 02a5363..277450b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,20 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v4 + + # 태그와 Cargo.toml 버전이 다르면 패키징하지 않는다. v0.9.1은 버전을 + # 올리지 않은 채 태그만 붙어 앱이 자신을 0.9.0으로 알았고, 업데이트 + # 알림이 끝없이 반복됐다(MSI도 같은 버전이라 업그레이드되지 않음). + - name: Tag must match Cargo.toml version + shell: pwsh + run: | + $tag = "${{ github.ref_name }}".TrimStart('v') + $ver = (Select-String -Path Cargo.toml -Pattern '^version = "(.+)"')[0].Matches.Groups[1].Value + if ($tag -ne $ver) { + Write-Error "Tag v$tag does not match Cargo.toml version $ver - run scripts/release.sh instead of tagging by hand." + exit 1 + } + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ffa3ea..adf5616 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ ## [Unreleased] +## [0.9.2] - 2026-11-15 + +### Fixed +- **업데이트 알림이 끝없이 반복되던 문제.** v0.9.1은 Cargo.toml 버전을 + 올리지 않고 태그만 붙어, 앱과 MSI가 자신을 0.9.0으로 알고 있었다. + 그래서 설정 앱의 업데이트 확인이 늘 "v0.9.1 있음"을 띄웠고, 설치해도 + 같은 0.9.0 MSI라 업그레이드되지 않았다. 버전을 0.9.2로 올렸다. +- 업데이트 확인·다운로드 주소를 옛 저장소 `knoxxr/haneng`에서 + `MinaryHub/HanEng`으로 바꿨다(이전엔 GitHub 리디렉트에 기대고 있었다). + README의 다운로드 링크도 함께 바꿨다. + +### Changed +- release.yml: 태그와 Cargo.toml 버전이 다르면 패키징을 멈춘다. + ## [0.9.0] - 2026-08-14 ### Removed (BREAKING) diff --git a/Cargo.lock b/Cargo.lock index 8fbc129..0703038 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1309,15 +1309,15 @@ dependencies = [ [[package]] name = "haneng-core" -version = "0.9.0" +version = "0.9.2" [[package]] name = "haneng-datagen" -version = "0.9.0" +version = "0.9.2" [[package]] name = "haneng-settings" -version = "0.9.0" +version = "0.9.2" dependencies = [ "eframe", "haneng-core", @@ -1327,7 +1327,7 @@ dependencies = [ [[package]] name = "haneng-windows" -version = "0.9.0" +version = "0.9.2" dependencies = [ "haneng-core", "tray-icon", diff --git a/Cargo.toml b/Cargo.toml index 92aed76..342bbce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ [workspace.package] # 모든 크레이트가 공유하는 단일 버전 — 릴리스는 scripts/release.sh로. -version = "0.9.0" +version = "0.9.2" edition = "2021" license = "MIT" diff --git a/README.md b/README.md index 394c02f..6ddc6c4 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ haneng은 **입력 카렛(입력 커서) 옆에 현재 입력 상태 배지**를 ## 설치 -**[📦 최신 릴리스 다운로드](https://github.com/knoxxr/haneng/releases/latest)** +**[📦 최신 릴리스 다운로드](https://github.com/MinaryHub/HanEng/releases/latest)** | OS | 파일 | 참고 | |---|---|---| diff --git a/crates/haneng-settings/src/update.rs b/crates/haneng-settings/src/update.rs index b047772..03bd1f0 100644 --- a/crates/haneng-settings/src/update.rs +++ b/crates/haneng-settings/src/update.rs @@ -9,7 +9,7 @@ //! msiexec을 띄우고 즉시 종료한다. //! - 설치(macOS/Linux): 릴리스 페이지를 브라우저로 연다. -pub const REPO: &str = "knoxxr/haneng"; +pub const REPO: &str = "MinaryHub/HanEng"; pub const CURRENT_VERSION: &str = env!("CARGO_PKG_VERSION"); /// 타임아웃과 TLS 프로바이더를 명시한 에이전트.