PR merge시 label에 맞추어 패키지의 버전을 자동으로 올리는 worflow 추가 #9
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.
1. 작업 개요
PR이
merge
될 때 라벨(major
,minor
,patch
)을 기반으로 프로젝트의 버전을 자동으로 업데이트하는 GitHub Actions 워크플로우를 추가했습니다.2. 주요 변경사항
PR 라벨 기반 버전 업데이트:
major
,minor
,patch
라벨에 따라poetry version
명령을 실행.patch
라벨 →poetry version patch
.자동화된 커밋 및 태그 생성:
pyproject.toml
)을 커밋 후 태그를 생성하고 원격 저장소에 푸시.상기 기능의 구현을 위한 GitHub Actions 워크플로우 추가:
3. 작동 방식
major
,minor
,patch
)로 버전 타입 결정.