Merged
Conversation
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.
Motivation
CHANGELOG.md최신 섹션을 반영하고 배포 관련 버전 불일치로 인한 실수를 방지하기 위해 버전 일치 검증을 추가했습니다.Description
.github/workflows/release.yml파일을 추가해 태그 푸시(v*,[0-9]*) 시 워크플로우가 실행되도록 구성했습니다.pyproject.toml버전, 태그 버전(접두사v제거),CHANGELOG.md최신 섹션 버전의 일치 여부를 검사하는 단계를 추가했습니다.CHANGELOG.md의 최신 릴리스 섹션을 추출해release_notes.md로 생성하도록 구현했습니다.scripts/build-and-publish.sh의 핵심 동작(빌드 도구 설치 →python -m build→twine check)을 워크플로우 단계로 이관하고,pypa/gh-action-pypi-publish와softprops/action-gh-release를 사용해 PyPI 업로드 및 GitHub Release 생성을 수행하도록 설정했습니다.Testing
pyproject.toml의project.version과CHANGELOG.md의 최신 버전 헤더를 비교하는 검증 스크립트를python으로 실행해 비교가 성공함을 확인했습니다 (assert pyproject == changelog성공).CHANGELOG.md에서 최신 섹션을 추출해release_notes.md로 쓸 수 있는지 확인하는 스크립트를 로컬로 실행해 기대한 섹션이 출력되는 것을 확인했습니다.Codex Task