We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a8371c commit 2bc36f9Copy full SHA for 2bc36f9
1 file changed
.agent/workflows/release-preflight.md
@@ -27,7 +27,7 @@ SCRIPT_POD_NAME_VER=$(grep "MySQLTuner [0-9.]* - MySQL High Performance" mysqltu
27
SCRIPT_POD_VER=$(grep "^Version [0-9.]*" mysqltuner.pl | awk '{print $2}')
28
29
# 6. Changelog latest version
30
-LOG_VER=$(head -n 1 Changelog | awk '{print $1}')
+LOG_VER=$(grep "^[0-9]" Changelog | head -n 1 | awk '{print $1}')
31
```
32
33
## 2. Validate Consistency
@@ -85,7 +85,7 @@ Ensure all commits since the last release follow Conventional Commits.
85
```bash
86
LAST_TAG=$(git describe --tags --abbrev=0)
87
echo "Validating commits since $LAST_TAG..."
88
-npx commitlint --from=$LAST_TAG --to=HEAD
+npx commitlint --from="tags/$LAST_TAG" --to=HEAD
89
90
91
## 5. Markdown Integrity
0 commit comments