Skip to content

v0.0.2: chore(release): update version and release script (#6)

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Mar 04:46
· 1 commit to main since this release
a49e286
* chore(release): update version and release script

this pr updates the release script to include a dry run option and set the
release version as a github environment variable

- added dry run option to release script
- updated release script to set github environment variable
- improved exit handling in release script

`release script git github`

* another test

* chore(ci): update Bun version and add Anthropic API key

This PR updates the Bun version used in the CI workflows and adds the Anthropic API key as an environment variable.

- Updated Bun version to 1.0.32 in both the release and validate workflows
- Added the `ANTHROPIC_API_KEY` environment variable to the release and validate workflows

`ci ci ci github ci bun`

* chore(git): add support for base diff in getDiff()

- Added `base_diff` to the result of `getDiff()`
- Check for the existence of `GITHUB_BASE_REF` environment variable to determine if a base diff is available
- Prefer `base_diff` over `cached_diff` and `working_diff` when determining the overall diff

`git git diff github ci`

* chore(version): bump version based on commit changes

Determine the appropriate version bump by analyzing the commit diff.

- inspect commit diff to determine change size
- suggest version bump based on conventional commit guidelines
  - fix, chore, ci, test, docs -> patch
  - feat -> minor
  - breaking change -> major
- use AI model to recommend the next version number

`version semver conventional-commits ai bump`

* feat(generator): ⚡ optimize change size generator

This PR optimizes the change size generator by removing unnecessary logging.

- Removed `console.log` statement logging unused `rest` object
- Destructured only the `diff` property from the result of `getDiff()`
- Improved performance by avoiding unnecessary object spread

`performance optimization logging cleanup`

* remove release step from validate workflow