fix: 버전 자동 상승분이 커밋 안 되고 로컬에 계속 쌓이는 문제 수정 - #38
Merged
Conversation
build-tauri-macos.sh/build-flutter.sh가 --version-bump로 버전 파일을 직접 수정하지만, 빌드 완료 후 그 변경을 커밋하는 코드가 없었다. 빌드 중단 시 되돌리는 안전장치(restore_version_if_incomplete)는 있었는데, 정상 완료된 빌드의 버전 변경은 그대로 uncommitted diff로 영구히 남아 다른 작업과 섞여 혼란을 유발했다(capybite-internal#26). BUILD_COMPLETED=true 직후 버전이 바뀌었으면 그 파일 하나만 targeted commit (git commit -- <path>)한다 — 다른 dirty 파일은 안 건드림. git 저장소가 아니거나 커밋이 실패해도 best-effort로 경고만 남기고 빌드 자체는 이미 끝났으니 스크립트를 죽이지 않는다.
kimdzhekhon
added a commit
that referenced
this pull request
Jul 29, 2026
* fix: 버전 자동 상승분이 커밋 안 되고 로컬에 계속 쌓이는 문제 수정 build-tauri-macos.sh/build-flutter.sh가 --version-bump로 버전 파일을 직접 수정하지만, 빌드 완료 후 그 변경을 커밋하는 코드가 없었다. 빌드 중단 시 되돌리는 안전장치(restore_version_if_incomplete)는 있었는데, 정상 완료된 빌드의 버전 변경은 그대로 uncommitted diff로 영구히 남아 다른 작업과 섞여 혼란을 유발했다(capybite-internal#26). BUILD_COMPLETED=true 직후 버전이 바뀌었으면 그 파일 하나만 targeted commit (git commit -- <path>)한다 — 다른 dirty 파일은 안 건드림. git 저장소가 아니거나 커밋이 실패해도 best-effort로 경고만 남기고 빌드 자체는 이미 끝났으니 스크립트를 죽이지 않는다. * chore: v3.8.1 - update-manifest regenerated/signed after auto-commit fix * fix: install.sh/test-update.sh 버전 3.8.1 누락분 + manifest 재서명 --------- Co-authored-by: kimdzhekhon <231584193+kimdzhekhon@users.noreply.github.com>
kimdzhekhon
added a commit
that referenced
this pull request
Jul 29, 2026
* fix: 버전 자동 상승분이 커밋 안 되고 로컬에 계속 쌓이는 문제 수정 build-tauri-macos.sh/build-flutter.sh가 --version-bump로 버전 파일을 직접 수정하지만, 빌드 완료 후 그 변경을 커밋하는 코드가 없었다. 빌드 중단 시 되돌리는 안전장치(restore_version_if_incomplete)는 있었는데, 정상 완료된 빌드의 버전 변경은 그대로 uncommitted diff로 영구히 남아 다른 작업과 섞여 혼란을 유발했다(capybite-internal#26). BUILD_COMPLETED=true 직후 버전이 바뀌었으면 그 파일 하나만 targeted commit (git commit -- <path>)한다 — 다른 dirty 파일은 안 건드림. git 저장소가 아니거나 커밋이 실패해도 best-effort로 경고만 남기고 빌드 자체는 이미 끝났으니 스크립트를 죽이지 않는다. * chore: v3.8.1 - update-manifest regenerated/signed after auto-commit fix * fix: install.sh/test-update.sh 버전 3.8.1 누락분 + manifest 재서명 --------- Co-authored-by: kimdzhekhon <231584193+kimdzhekhon@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
build-tauri-macos.sh/build-flutter.sh가--version-bump로 버전 파일을 직접 수정하지만, 빌드 완료 후 그 변경을 커밋하지 않아 uncommitted diff로 계속 쌓이던 문제 수정 (capybite-internal#26)restore_version_if_incomplete)는 이미 있었음 — 정상 완료된 빌드 쪽만 누락돼 있었음BUILD_COMPLETED=true직후, 버전이 바뀌었으면 그 버전 파일 하나만 targeted commit(git commit -- <path>) — 다른 dirty 파일은 안 건드림Test plan
bash -n으로 두 스크립트 문법 확인git commit -m ... -- <path>가 지정 파일만 커밋하고 다른 dirty 파일은 안 건드리는 것 확인--version-bump patch로 풀 빌드 1회 돌려서 커밋 생성 확인 (로컬 환경 필요, 미실행)Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com