1 parent 295f4cf commit 1b2e2aeCopy full SHA for 1b2e2ae
1 file changed
.buildkite/version.sh
@@ -10,8 +10,8 @@ set -euo pipefail
10
LATEST=$(git tag -l 'v*' --sort=-v:refname | head -1 || echo "")
11
12
if [[ -z "$LATEST" ]]; then
13
- # No tags exist - start from v0.1.0
14
- MAJOR=0; MINOR=1; PATCH=0
+ # No tags exist - start from v0.0.0
+ MAJOR=0; MINOR=0; PATCH=0
15
COMMITS=$(git log --pretty=format:"%s" 2>/dev/null || echo "")
16
else
17
if [[ "$LATEST" =~ ^v([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]; then
@@ -26,7 +26,7 @@ else
26
fi
27
28
# Check if any conventional commits exist
29
-if ! echo "$COMMITS" | grep -qE '^(feat|fix|refactor|perf|docs|style|test|chore)(!|\()'; then
+if ! echo "$COMMITS" | grep -qE '^(feat|fix|refactor|perf|docs|style|test|chore)'; then
30
# No conventional commits since last tag — no release needed
31
exit 0
32
0 commit comments