Skip to content

Commit aaca977

Browse files
author
Termux User
committed
chore: synchronize all version strings to 0.8.1 and harden CI
- naab.toml, CMakeLists.txt, gov_main.cpp, package.json/lock: bump to 0.8.1 - naab.toml: add nim/php (enabled), zig/julia (disabled) to polyglot section - SECURITY.md: update supported versions table to 0.8.x - USER_GUIDE.md, docs/API_REFERENCE.md, docs/SECURITY_GUIDE.md: bump version header - .github/ISSUE_TEMPLATE/bug_report.yml: update placeholder to v0.8.1 - CHANGELOG.md: add [Unreleased] section + [0.8.1] and [0.8.0] entries - tests/cli/test_naab_gov.sh: fix --version check 0.7.0 → 0.8.1 - ci.yml: add pybind11, build libnaab, replace 3-file test with run-all-tests.sh - scripts/bump-version.sh: expand to update all 15 versioned files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f1855ca commit aaca977

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ All notable changes to NAAb will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
810
## [0.8.1] - 2026-04-03
911

1012
### Fixed

scripts/bump-version.sh

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,26 @@ fi
180180
# Update USER_GUIDE.md
181181
if [ -f "$USER_GUIDE" ]; then
182182
echo "Updating USER_GUIDE.md..."
183-
_sed "s/\*\*Version\*\*: $CURRENT_VERSION/**Version**: $NEW_VERSION/" "$USER_GUIDE"
183+
_sed "s/\*\*Version\*\*: $CURRENT_VERSION/\*\*Version\*\*: $NEW_VERSION/" "$USER_GUIDE"
184184
echo -e "${GREEN}${NC} USER_GUIDE.md updated"
185185
fi
186186

187+
# Update docs/API_REFERENCE.md
188+
API_REF="$PROJECT_ROOT/docs/API_REFERENCE.md"
189+
if [ -f "$API_REF" ]; then
190+
echo "Updating docs/API_REFERENCE.md..."
191+
_sed "s/Version: $CURRENT_VERSION/Version: $NEW_VERSION/" "$API_REF"
192+
echo -e "${GREEN}${NC} docs/API_REFERENCE.md updated"
193+
fi
194+
195+
# Update docs/SECURITY_GUIDE.md
196+
SEC_GUIDE="$PROJECT_ROOT/docs/SECURITY_GUIDE.md"
197+
if [ -f "$SEC_GUIDE" ]; then
198+
echo "Updating docs/SECURITY_GUIDE.md..."
199+
_sed "s/\*\*Version:\*\* $CURRENT_VERSION/\*\*Version:\*\* $NEW_VERSION/" "$SEC_GUIDE"
200+
echo -e "${GREEN}${NC} docs/SECURITY_GUIDE.md updated"
201+
fi
202+
187203
# Update SECURITY.md supported versions table
188204
if [ -f "$SECURITY_MD" ]; then
189205
echo "Updating SECURITY.md..."
@@ -229,7 +245,8 @@ if git rev-parse --git-dir > /dev/null 2>&1; then
229245

230246
git add "$CMAKE_FILE" "$CHANGELOG" "$CONFIG_H" "$NAAB_TOML" "$GOV_MAIN" \
231247
"$VSCODE_PKG" "$VSCODE_LOCK" "$DEPS_LOCK" "$USER_GUIDE" "$SECURITY_MD" \
232-
"$BUG_TEMPLATE" "$TEST_CLI_FLAGS" "$TEST_NAAB_GOV" 2>/dev/null || true
248+
"$BUG_TEMPLATE" "$TEST_CLI_FLAGS" "$TEST_NAAB_GOV" \
249+
"$PROJECT_ROOT/docs/API_REFERENCE.md" "$PROJECT_ROOT/docs/SECURITY_GUIDE.md" 2>/dev/null || true
233250
git commit -m "chore: bump version to $NEW_VERSION" || {
234251
echo -e "${YELLOW}Warning: No changes to commit${NC}"
235252
}

0 commit comments

Comments
 (0)