Skip to content

릴리스 파이프라인 수정 - 실행 권한, CHANGELOG 구조, 2.0.0 버전 기준점 - #22

Merged
YoHanKi merged 1 commit into
mainfrom
fix/release-pipeline
Aug 8, 2026
Merged

릴리스 파이프라인 수정 - 실행 권한, CHANGELOG 구조, 2.0.0 버전 기준점#22
YoHanKi merged 1 commit into
mainfrom
fix/release-pipeline

Conversation

@YoHanKi

@YoHanKi YoHanKi commented Aug 8, 2026

Copy link
Copy Markdown
Owner

머지 후 릴리스 잡이 첫 스텝에서 죽었습니다.

scripts/next-version.sh: Permission denied
Error: Process completed with exit code 126

수정 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] 마커를 뒀습니다.

확인

$ bash scripts/next-version.sh
2.0.0
$ bash scripts/next-version.sh --level-only
major
$ git ls-files -s scripts/
100755 scripts/next-version.sh
100755 scripts/prepare-changelog.sh
$ bash scripts/prepare-changelog.sh
CHANGELOG.md already has Unreleased notes; leaving them alone.

이 PR이 머지되면 자동화가 2.0.0을 릴리스합니다 — CHANGELOG가 말하는 것과 같은 번호입니다.

EGC_008에서 2.0.0을 손으로 박아둔 것이 애초에 어긋난 부분이었습니다. 버전은 릴리스 시점에 자동화가 정하는 값이고, 저장소에는 마지막으로 릴리스된 값이 남는 것이 이 방식의 정상 상태입니다.

🤖 Generated with Claude Code

머지 후 릴리스 잡이 첫 스텝에서 죽었다.
  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>
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Qodana Community for JVM

It 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 report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2025.1.1
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@YoHanKi
YoHanKi merged commit 152f117 into main Aug 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant