Fix generator rebuild and release pipeline

This commit is contained in:
Repinoid
2026-09-21 18:08:26 +03:00
parent 1ec6a0fedc
commit 7ecd2aaf44
10 changed files with 131 additions and 139 deletions
+8 -4
View File
@@ -56,16 +56,20 @@ export TOKEN_FILE=/home/naeel/terra/08-33-41.token
## Step 2: Generate Go resources and docs
Script: `02_generate_resources_and_docs.sh`
Script: `TOOLS/scripts/02_generate_resources_and_docs_v2.sh`
Example:
```bash
./02_generate_resources_and_docs.sh
./TOOLS/scripts/02_generate_resources_and_docs_v2.sh --profile TOOLS/config/dev
```
Outputs:
- Go files in `universal_rebuild/internal/resources_gen`
- Docs in `docs/30_registry/resources`
- Go files in `generated/<stand>/go`
- Docs in `generated/<stand>/docs`
Important:
- The v2 script always rebuilds `resource-generator` and `docs-generator` from source before running.
- Do not invoke stale binaries from `TOOLS/resource-generator/bin/` or `TOOLS/docs-generator/bin/` directly.
## Step 3: Build and upload provider