Skip to content

Commit 6df2b0c

Browse files
committed
fix: single versioning on main, dispatch-triggered publish
1 parent f35d55a commit 6df2b0c

2 files changed

Lines changed: 33 additions & 5 deletions

File tree

.githooks/commit-msg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
# Conventional commit validation hook
3+
# Install: git config core.hooksPath .githooks
4+
5+
if command -v hyperi-ci >/dev/null 2>&1; then
6+
hyperi-ci check-commit "$1"
7+
elif command -v uvx >/dev/null 2>&1; then
8+
uvx hyperi-ci check-commit "$1"
9+
else
10+
echo "Warning: hyperi-ci not found — skipping commit validation" >&2
11+
exit 0
12+
fi

.releaserc.yaml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
# Copyright: (c) 2026 HYPERI PTY LIMITED
77

88
branches:
9-
- name: main
10-
prerelease: dev
11-
- release
9+
- main
1210

1311
tagFormat: "v${version}"
1412

@@ -48,6 +46,26 @@ plugins:
4846
release: false
4947
- type: wip
5048
release: false
49+
- type: cleanup
50+
release: false
51+
- type: data
52+
release: false
53+
- type: debt
54+
release: false
55+
- type: design
56+
release: false
57+
- type: infra
58+
release: false
59+
- type: meta
60+
release: false
61+
- type: ops
62+
release: false
63+
- type: review
64+
release: false
65+
- type: spike
66+
release: false
67+
- type: ui
68+
release: false
5169

5270
- "@semantic-release/release-notes-generator"
5371

@@ -63,5 +81,3 @@ plugins:
6381
- VERSION
6482
- Cargo.toml
6583
message: "chore: version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
66-
67-
- "@semantic-release/github"

0 commit comments

Comments
 (0)