Skip to content

'Run workflow'로 릴리스 만들기 - #8

Merged
knoxxr merged 5 commits into
mainfrom
ccr-da6cba6f-qulklh
Nov 20, 2026
Merged

knoxxr merged 5 commits into
mainfrom
ccr-da6cba6f-qulklh

Conversation

@knoxxr

@knoxxr knoxxr commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

내용

태그를 푸시할 수 없는 환경(예: Claude Code 클라우드 세션은 작업 브랜치에만 푸시 가능)에서도 릴리스할 수 있도록, build 워크플로에 workflow_dispatch를 추가합니다.

  • Actions → build → Run workflow(main): 평소와 같은 빌드(3 OS 테스트 → PyInstaller → selftest → 설치 파일) 뒤, release 작업이 pyproject.toml 버전으로 v<버전> 태그와 GitHub Release를 그 커밋에 만듭니다(softprops/action-gh-release의 tag_name + target_commitish).
  • 그 태그가 이미 있으면 실패합니다(버전을 먼저 올리라는 메시지).
  • 태그 푸시 경로는 그대로이며, main이 아닌 브랜치에서 수동 실행하면 Release를 만들지 않습니다.
  • docs/RELEASE.md에 방법 추가.

GITHUB_TOKEN으로 만든 태그는 다른 워크플로를 다시 시작하지 않으므로, 빌드와 릴리스를 같은 실행에서 끝냅니다.

확인

  • YAML 파싱 확인, release.if 식 확인. 실제 동작은 병합 후 main에서 실행해 v0.2.1 Release로 확인합니다.

Generated by Claude Code

Raise the release version to 0.2.0 (pyproject, RELEASE_VERSION, Inno Setup
default, lockfile) so the v0.2.0 tag matches and installed 0.1.0.x builds
are offered the update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
….2.1

The v0.2.0 tag build was the first CI run that got runners, and 28 UI tests
failed on Windows and Linux: the headless-display action sets
PYVISTA_OFF_SCREEN=true, so QtInteractor created no interactor and
plotter.iren was None. The viewer now always asks for an interactive one.

With that fixed, the UI tests crashed in VTK render() under Xvfb/Mesa after
about twenty windows: a closed window never released its OpenGL render
window. MainWindow.closeEvent now calls viewer.shutdown(), which stops the
animation timer and closes the plotter. Full suite with CI's environment:
183 passed.

The macOS job was cancelled the moment it was created (no runner), and the
release job needs every build job, so it was skipped. It now runs unless a
build failed, and refuses to publish an empty release.

Version 0.2.1 so the fixed commit gets a fresh tag instead of moving v0.2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
A manual run of the build workflow on main now builds as usual and the
release job creates the v<pyproject version> tag and the GitHub Release at
that commit (it refuses when the tag already exists). Tag pushes work as
before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A9NzuHPqp7Wrrs8zF7CMvh
@knoxxr
knoxxr merged commit abcf2b7 into main Nov 20, 2026
0 of 3 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.

2 participants