릴리스 파이프라인 수정 - 실행 권한, CHANGELOG 구조, 2.0.0 버전 기준점 - #22
Merged
Conversation
머지 후 릴리스 잡이 첫 스텝에서 죽었다. scripts/next-version.sh: Permission denied (exit 126) 세 가지를 고친다. ## 실행 권한 두 스크립트가 100644 로 커밋돼 있었다. EGC_008 에서 chmod +x 와 git update-index --chmod=+x 를 돌렸지만 이어진 git add -A 가 모드를 되돌린 것으로 보인다. 이제 100755 로 커밋한다. 덧붙여 워크플로가 bash 로 명시 호출하도록 바꿨다. Windows 작업 트리에서 체크아웃하면 실행 비트는 쉽게 사라지므로, 권한에 의존하지 않는 편이 낫다. ## CHANGELOG 구조 EGC_008 에서 ## [2.0.0] 섹션을 직접 써 넣었는데, patchChangelog 는 [Unreleased] 를 산출된 버전 이름으로 바꾸는 방식이다. 그대로 두면 같은 번호의 섹션이 두 개 생긴다. 플러그인 설계대로 [Unreleased] 로 되돌리고, 다음 사람이 같은 실수를 하지 않도록 파일 상단에 이유를 적었다. ## 버전 기준점 릴리스 잡이 버전을 올리기 전에 실패했으므로 아직 아무것도 태깅되지 않았다. gradle.properties 를 1.6.4 로 되돌리고 이 커밋에 [major] 마커를 둔다. 그러면 next-version.sh 가 1.6.4 -> 2.0.0 을 산출해, 자동화가 CHANGELOG 가 말하는 것과 같은 번호를 실제로 릴리스한다. EGC_008 에서 2.0.0 을 손으로 박아둔 것이 애초에 어긋난 부분이었다. 버전은 릴리스 시점에 자동화가 정하는 값이고, 저장소에는 마지막으로 릴리스된 값이 남는 것이 이 방식의 정상 상태다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
Qodana Community for JVMIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2025.1.1
with:
upload-result: trueContact Qodana teamContact us at qodana-support@jetbrains.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.
머지 후 릴리스 잡이 첫 스텝에서 죽었습니다.
수정 3건
1. 스크립트 실행 권한 — 두 스크립트가
100644로 커밋돼 있었습니다. EGC_008에서chmod +x를 했지만 이어진git add -A가 모드를 되돌린 것으로 보입니다. 이제100755로 커밋하고, 추가로 워크플로가bash scripts/...로 명시 호출하도록 바꿨습니다 — Windows 작업 트리 체크아웃에서 실행 비트는 쉽게 사라지므로 권한에 의존하지 않는 편이 낫습니다.2. CHANGELOG 구조 — EGC_008에서
## [2.0.0]섹션을 직접 써 넣었는데,patchChangelog는[Unreleased]를 산출된 버전 이름으로 바꾸는 방식입니다. 그대로 두면 같은 번호의 섹션이 두 개 생깁니다.[Unreleased]로 되돌리고 파일 상단에 이유를 적었습니다.3. 버전 기준점 — 릴리스 잡이 버전을 올리기 전에 실패했으므로 아직 아무것도 태깅되지 않았습니다.
gradle.properties를 1.6.4로 되돌리고 이 커밋에[major]마커를 뒀습니다.확인
이 PR이 머지되면 자동화가 2.0.0을 릴리스합니다 — CHANGELOG가 말하는 것과 같은 번호입니다.
EGC_008에서 2.0.0을 손으로 박아둔 것이 애초에 어긋난 부분이었습니다. 버전은 릴리스 시점에 자동화가 정하는 값이고, 저장소에는 마지막으로 릴리스된 값이 남는 것이 이 방식의 정상 상태입니다.
🤖 Generated with Claude Code