repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources15d ago| #1 | #!/bin/bash |
| #2 | # Local release script - runs the same steps as GitHub Actions |
| #3 | # Use this when GitHub Actions is disabled |
| #4 | |
| #5 | set -e |
| #6 | |
| #7 | echo "🔍 Checking for OPENAI_API_KEY..." |
| #8 | if [ -z "$OPENAI_API_KEY" ]; then |
| #9 | if [ -f .env ]; then |
| #10 | export $(grep OPENAI_API_KEY .env | xargs) |
| #11 | fi |
| #12 | fi |
| #13 | |
| #14 | if [ -z "$OPENAI_API_KEY" ]; then |
| #15 | echo "❌ OPENAI_API_KEY not set. Please set it or add to .env file" |
| #16 | exit 1 |
| #17 | fi |
| #18 | |
| #19 | echo "📦 Installing dependencies..." |
| #20 | bun install |
| #21 | |
| #22 | echo "🧪 Running tests..." |
| #23 | bun run test || echo "⚠️ Tests skipped or failed" |
| #24 | |
| #25 | echo "🌍 Formatting and translating agents..." |
| #26 | bun run format |
| #27 | |
| #28 | echo "📝 Updating README..." |
| #29 | bun run awesome || echo "⚠️ Awesome skipped" |
| #30 | |
| #31 | echo "🏗️ Building public index..." |
| #32 | bun run build |
| #33 | |
| #34 | echo "✅ Local release complete!" |
| #35 | echo "" |
| #36 | echo "📊 Summary:" |
| #37 | echo " - Agents: $(ls src/*.json | wc -l)" |
| #38 | echo " - Locales: $(ls -d locales/*/ | wc -l) agents × 18 languages" |
| #39 | echo " - Public files: $(ls public/*.json | wc -l)" |
| #40 | echo "" |
| #41 | echo "🚀 Ready to commit and push!" |
| #42 | echo " git add ." |
| #43 | echo " git commit -m 'chore: Release'" |
| #44 | echo " git push" |
| #45 | |
| #46 | |
| #47 |