**chore(release): enhance deployment workflows with GitHub release automation**
- Added functionality to auto-generate GitHub releases: - Included `scripts/create-github-release.js` to automate release creation with notes. - Modified `scripts/publish-cli.js` to create GitHub releases after publishing packages. - Updated `package.json` to call the GitHub release script during `deploy` and `deploy:cli` commands. - Introduced `CHANGELOG.md` for both main and CLI packages: - Enabled auto-updating of CHANGELOG.md from GitHub release notes. - Added a new `scripts/update-changelog.js` script to synchronize release details with changelogs. - Ensured `CHANGELOG.md` files are included in the published packages. - Improved documentation visibility by displaying release notes on npmjs.com. This update streamlines the release process, ensuring consistent documentation, and aligns npm releases with corresponding GitHub releases for better transparency.
This commit is contained in:
parent
cc3350c578
commit
6d13a6737e
7 changed files with 257 additions and 2 deletions
16
cli-package/CHANGELOG.md
Normal file
16
cli-package/CHANGELOG.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.9.34] - 2024-07-01
|
||||
|
||||
This is the initial changelog entry. Future releases will automatically update this file with release notes from GitHub.
|
||||
|
||||
### Added
|
||||
- Auto-generation of release notes for GitHub releases
|
||||
- Auto-updating of CHANGELOG.md files for both main and CLI packages
|
||||
- Display of release notes on npmjs.com through the CHANGELOG.md files
|
||||
|
||||
### Changed
|
||||
- Modified deployment scripts to ensure GitHub releases are created with auto-generated notes
|
||||
- Updated package.json files to include CHANGELOG.md in published packages
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
"files": [
|
||||
"cli-wrapper.js",
|
||||
"README.md",
|
||||
"CHANGELOG.md",
|
||||
"dist/cli.js",
|
||||
"dist/cli.js.map"
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue