Skip to content

chore: Update craft for auto changelog#36

Merged
timfish merged 1 commit into
mainfrom
timfish/chore/update-craft-auto-changelog
May 13, 2026
Merged

chore: Update craft for auto changelog#36
timfish merged 1 commit into
mainfrom
timfish/chore/update-craft-auto-changelog

Conversation

@timfish
Copy link
Copy Markdown
Collaborator

@timfish timfish commented May 13, 2026

It would be nice to have auto versioning and changelogs!

@timfish timfish requested a review from chargome May 13, 2026 12:33
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 40d6ea3. Configure here.

Comment thread .craft.yml
changelog:
policy: auto
versioning:
policy: auto
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant preReleaseCommand conflicts with auto versioning policy

Medium Severity

The new versioning.policy: auto setting is intended to enable automatic version bumping, but the existing preReleaseCommand on line 6 prevents it from taking effect. Per Craft docs, auto version bumping only activates when no custom preReleaseCommand is defined—having one "explicitly opts out of auto-bumping." The preReleaseCommand script in scripts/craft-pre-release.sh manually runs npm version, which is exactly what Craft's auto-bumping would do for the npm target. The versioning config is effectively dead, and the PR's stated goal of enabling auto versioning is not achieved.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 40d6ea3. Configure here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have the same in other repositories and it hasn't caused issues...

@timfish timfish merged commit b244975 into main May 13, 2026
81 checks passed
@timfish timfish deleted the timfish/chore/update-craft-auto-changelog branch May 13, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants