-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release Noteを自動生成する #366
Release Noteを自動生成する #366
Conversation
✔️ Deploy Preview for ingred-ui ready! 🔨 Explore the source changes: 7af3fcc 🔍 Inspect the deploy log: https://app.netlify.com/sites/ingred-ui/deploys/60b45031b60b240007771440 😎 Browse the preview: https://deploy-preview-366--ingred-ui.netlify.app |
- name: Unshallow | ||
run: git fetch --prune --unshallow --tags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
タグ情報を取得する
release_note: | ||
github_changelog_generator \ | ||
--user voyagegroup \ | ||
--project ingred-ui \ | ||
--exclude-labels release \ | ||
--future-release v${RELEASE_VERSION} \ | ||
--since-tag $(shell git describe --abbrev=0 --tags) \ | ||
--output ${OUTPUT_FILE} \ | ||
--token ${GITHUB_TOKEN} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--since-tag
で現状の最新のタグを指定することでrelease前の差分でchangelogを生成するようにした
こんな感じになる
https://github.com/voyagegroup/ingred-ui/releases/tag/untagged-43c4d552d3ef288ca7a6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
このdraftはrelease前に閉じる
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
リリースフローのドキュメントの方も自動で差分検知できる旨を書き加えたりしていただけると:bow:
やったこと