Skip to content

Commit 4b431a0

Browse files
committed
chore(release): bump version to 0.3.0 and update changelog
1 parent 306ca28 commit 4b431a0

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.0] - 2025-12-18
11+
1012
### Maintenance
1113

1214
- Repository maintenance: metrics snapshot updates, documentation and script syncs, and archive moves ([#64c3662](https://github.com/lightspeedwp/.github/commit/64c3662927b55996ad3c1966b9d65fe0d5253e16), [#aa66dc6](https://github.com/lightspeedwp/.github/commit/aa66dc6fe959113f24080d35749524d1f6784338), [#dd5b55f](https://github.com/lightspeedwp/.github/commit/dd5b55f14c4a2b697ca4f370f50830e099f197aa)).

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.0
1+
0.3.0

scripts/agents/release.agent.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -639,19 +639,21 @@ async function run() {
639639
console.log(`[DRY-RUN] Would create branch ${releaseBranch}`);
640640
}
641641

642+
642643
// Step 3: Bump version
643644
bumpVersion(nextVersion, { dryRun });
644645

645646
// Step 4: Update changelog
646647
updateChangelog(nextVersion, { dryRun });
647648

648-
// Step 5: Commit changes
649+
// Step 5: Stage all changes and run Husky pre-commit hooks, then commit
649650
if (!dryRun) {
650-
exec("git add VERSION CHANGELOG.md");
651+
exec("git add .");
652+
exec("npx husky run pre-commit");
651653
exec(`git commit -m "chore(release): bump version to ${nextVersion}"`);
652654
} else {
653655
console.log(
654-
`\n[DRY-RUN] Would commit VERSION and CHANGELOG.md with message: "chore(release): bump version to ${nextVersion}"`,
656+
`\n[DRY-RUN] Would stage all changes, run Husky pre-commit hooks, and commit with message: "chore(release): bump version to ${nextVersion}"`,
655657
);
656658
}
657659

0 commit comments

Comments
 (0)