feat: Add VERSION file, remove commit message trigger

- VERSION file tracks release version (0.0.1)
- Full matrix now triggered by tags only (or TEST_ALL_SDKS var)
- Removed [test-all] commit message trigger
This commit is contained in:
russell@unturf.com 2026-01-17 09:51:24 -05:00
parent 0841f315a8
commit b9889fe0f5
2 changed files with 2 additions and 8 deletions

1
VERSION Normal file
View file

@ -0,0 +1 @@
0.0.1

View file

@ -6,20 +6,13 @@ set -e
# Manual triggers for full matrix:
# 1. CI variable: TEST_ALL_SDKS=true
# 2. Commit message contains [test-all]
# 3. Tag push (releases test everything)
# 2. Tag push (releases test everything)
if [ "$TEST_ALL_SDKS" = "true" ]; then
echo '{"changed_langs": ["all"], "reason": "TEST_ALL_SDKS variable set", "test_all": true}'
exit 0
fi
COMMIT_MSG=$(git log -1 --pretty=%B 2>/dev/null || echo "")
if echo "$COMMIT_MSG" | grep -qi '\[test-all\]'; then
echo '{"changed_langs": ["all"], "reason": "Commit message contains [test-all]", "test_all": true}'
exit 0
fi
if [ -n "$CI_COMMIT_TAG" ]; then
echo '{"changed_langs": ["all"], "reason": "Tag release - testing all SDKs", "test_all": true}'
exit 0