버전을 0.2.0으로 올림 (wire-paseo 릴리스용) - #2
Merged
Merged
Conversation
- v0.1.0 태그가 이미 존재해 release.yml의 gh release create가 실패하므로 0.2.0으로 올려 방금 머지된 wire-paseo 기능을 담은 새 릴리스를 만들 수 있게 함
- release.yml을 workflow_dispatch 전용에서 태그 푸시(v*) 트리거로 전환 — 이제 태그 자체가 버전의 단일 출처이며 packages/cli/package.json의 버전 필드와 더 이상 동기화할 필요가 없음(그 필드는 이제 완전히 무관해짐, 어차피 npm에 배포하지 않으므로). workflow_dispatch도 version 입력값과 함께 유지해 태그 없이 파이프라인을 수동으로 재실행할 수 있게 함 - build-binary.mjs가 package.json을 읽는 대신 SESSIONFORGE_VERSION 환경 변수(CI가 태그에서 전달)를 사용하고, 없으면 "dev-main"으로 표시 — 릴리스로 만들어지지 않은 로컬/개발 빌드임을 명확히 함 - wire-paseo가 dev-main 버전일 때 --version 없이 실행되면 애초에 존재하지 않을 다운로드를 시도하는 대신 바로 안내 메시지를 내고 중단하도록 함 - sessionforge --version / version / -v 명령 추가 — 버그 발견 후 수정: parseArgs가 위치와 무관하게 모든 "--xxx" 토큰을 플래그로 소비하기 때문에 "--version"은 switch의 포지셔널 케이스로 절대 도달하지 못했음 (도움말이 대신 출력됨) — main()에서 command가 undefined이고 version 플래그가 있는 경우를 먼저 확인하도록 고쳐 실제로 세 가지 호출 형태 모두 검증함
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.
v0.1.0 태그가 이미 존재해 새 릴리스 생성을 위해 버전을 올립니다.