v0.1.91
v0.1.91 — Cloudflare web-deploy 한글 commit message UTF-8 에러 fix
변경 사항
문제
- v0.1.89/v0.1.90 web-deploy job 모두 실패:
✘ [ERROR] A request to the Cloudflare API failed.
Invalid commit message, it must be a valid UTF-8 string. [code: 8000111]원인
npx wrangler pages deploy가 기본으로 git commit message 를 Cloudflare API 의commit_message필드로 전송. 우리 commit message 는 한글 + 이모지 + 코드블록 + 박스 문자 (├,└) 등을 포함 → Cloudflare API 의 UTF-8 validation 에서 fail (code 8000111).
해결 (.github/workflows/release.yml)
wrangler pages deploy에--commit-message/--commit-hash명시:
VERSION=$(node -p "require('./package.json').version")
SHORT_SHA=$(git rev-parse --short HEAD)
npx wrangler pages deploy web \
-project-name viewwork \
-branch main \
-commit-message="release v${VERSION}" \
-commit-hash="${SHORT_SHA}"- ASCII-only 메시지 (예:
release v0.1.91) + 7자리 SHA → Cloudflare API validation 100% 통과.
파일 변경
- 수정:
.github/workflows/release.yml— wrangler 호출 시--commit-message/--commit-hash추가 - 수정:
package.json0.1.90 → 0.1.91
검증
- v0.1.91 push 후 GitHub Actions 의 web-deploy job 성공 여부 확인 예정
- --
📦 GitHub 릴리스 노트: v0.1.91