fix(release): electron-builder 에 --publish never 지정 - #48
Merged
Conversation
electron-builder.yml 에 publish=github 이 있고, 태그 푸시 + CI 환경에서는 electron-builder 가 산출물을 스스로 GitHub 에 올리려 한다. 그래서 "GitHub Personal Access Token is not set" 으로 3회 재시도 후 죽었다. 릴리스 업로드는 워크플로의 몫이다(upload-artifact → download-artifact → action-gh-release). 빌더는 빌드만 해야 한다. latest.yml 은 그대로 생성된다 — PublishManager 는 업데이트 정보 쓰기를 isPublish 분기 밖에서 처리한다(app-builder-lib/out/publish/PublishManager.js:157). 자동 업데이트 경로는 영향받지 않는다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.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.
Summary
v2.4.1 릴리스가 세 번째로 실패했다. 이번 원인은 앞선 둘과 다르다 — postinstall 수정(#47)은 통했고, 빌드가 electron-builder 패키징까지 도달한 뒤 죽었다.
electron-builder.yml에publish: github가 있고 태그 푸시 + CI 환경이면 electron-builder 가 산출물을 스스로 GitHub 에 업로드하려 한다.GH_TOKEN이 없어GitHub Personal Access Token is not set으로 3회 재시도 후 실패했다.릴리스 업로드는 워크플로의 몫이다(
upload-artifact→download-artifact→action-gh-release). 빌더는 빌드만 해야 하므로--publish never를 준다.자동 업데이트는 영향 없다.
latest.yml생성은 업로드 분기 밖에 있다 —app-builder-lib/out/publish/PublishManager.js에서 업로드 루프는if (this.isPublish)로 감싸여 있고,createUpdateInfoTasks는 그 블록 바깥의 별도if (event.isWriteUpdateInfo)에서 실행된다.STATE.md 도 현재 국면(릴리스 파이프라인 3연속 수리)으로 갱신했다.
Test Plan
build-win.ps1BOM(ef bb bf) 유지 확인 — fix(build): Windows 설치파일 빌드 실패 수리 — PowerShell 인코딩 + 파서 충돌 #45 에서 고친 지점이라 회귀 위험이 있다[Parser]::ParseFilePARSE OKif-no-files-found: error가 걸린latest*.yml아티팩트가 실제로 올라가는지로 update 매니페스트 생성을 검증