chore: 릴리즈 버전을 확장 패키지에 반영#5
Merged
Merged
Conversation
|
🎉 This PR is included in version 1.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
요약
semantic-release가 계산한 릴리즈 버전을 Chrome 확장 패키지에도 반영하도록 릴리즈 플로우를 수정했습니다.
기존에는 GitHub Release 태그는
v1.1.0처럼 올라가더라도, Release asset에 첨부되는algorithmhub-webstore.zip안의manifest.json버전은 기존 값으로 남을 수 있었습니다. Chrome Web Store 업데이트에는manifest.json의version증가가 필요하므로, 릴리즈 시점에 계산된 버전을 빌드 전에 반영하도록 변경했습니다.주요 변경사항
scripts/set-release-version.mjs추가manifest.json과package.json에 반영@semantic-release/execprepare 단계 추가algorithmhub-webstore.zip생성기대 효과
manifest.json버전이 일치함feat:릴리즈 시v1.1.0이면 zip 내부 manifest도1.1.0fix:릴리즈 시v1.0.1이면 zip 내부 manifest도1.0.1검증
node scripts/set-release-version.mjs 9.9.9임시 실행 후 build 확인npm run lint통과npm run build통과