Commit 4fe3d55
feat: add
* ci: auto-update Homebrew formula on new releases
Adds an `update-homebrew` job to the release workflow that:
- Downloads SHA256 checksums from the just-published release
- Generates an updated Formula/createos.rb with new version + hashes
- Pushes to NodeOps-app/homebrew-createos
Requires HOMEBREW_TAP_TOKEN secret (PAT with repo scope for the tap repo).
Runs after binaries are uploaded, so SHA256 files are always available.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: add `createos deploy` command
Adds the most-requested missing command — `createos deploy` — which creates
new deployments directly from the CLI.
Automatically detects project type and routes accordingly:
- VCS (GitHub) projects → triggers deploy from latest commit on branch
- Upload projects → zips local directory and uploads (respects .gitignore-style patterns)
- Image projects → deploys a Docker image reference
Features:
- Auto-detects project from .createos.json (or --project flag)
- Real-time deployment status polling with spinner
- Prints live URL on success
- Shows build-log hint on failure
- Upload path: excludes node_modules, .git, .env, __pycache__, etc.
- Upload path: 50MB max, 10MB per-file limit
- 5-minute deployment timeout with graceful fallback
New API methods:
- TriggerLatestDeployment — POST /v1/projects/{id}/deployments/trigger-latest
- UploadDeploymentZip — POST /v1/projects/{id}/deployments/upload/zip
- GetDeployment — GET /v1/projects/{id}/deployments/{id}
Closes #3
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Update release.yaml
* feat: addressed suggested changes
* feat: addressed suggested changes
---------
Co-authored-by: Naman <naman307@Namans-MacBook-Pro.local>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Bhautik <bhautikrchudasama@gmail.com>createos deploy command (#20)1 parent c9d6404 commit 4fe3d55
7 files changed
Lines changed: 559 additions & 20 deletions
File tree
- .github/workflows
- cmd
- deployments
- deploy
- root
- internal/api
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 83 | + | |
90 | 84 | | |
91 | 85 | | |
92 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
132 | 159 | | |
133 | 160 | | |
134 | 161 | | |
| |||
253 | 280 | | |
254 | 281 | | |
255 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
256 | 289 | | |
257 | 290 | | |
258 | 291 | | |
| |||
0 commit comments