Add add_protocol skill, update release skills with DB download step

This commit is contained in:
eduard256
2026-03-25 17:37:20 +00:00
parent 4d171f69c7
commit bfeae738e3
3 changed files with 597 additions and 14 deletions
+22 -10
View File
@@ -47,7 +47,19 @@ Offer options:
Wait for answer. Store the chosen version as VERSION (without "v" prefix).
## Step 3: Verify build
## Step 3: Download latest camera database
```bash
cd /home/user/Strix
gh release download latest --repo eduard256/StrixCamDB --pattern "cameras.db" --clobber
```
Verify the database was downloaded:
```bash
ls -lh cameras.db
```
## Step 4: Verify build
```bash
cd /home/user/Strix
@@ -57,7 +69,7 @@ go build ./...
If tests or build fail -- STOP and report the error. Do not continue.
## Step 4: Update CHANGELOG.md
## Step 5: Update CHANGELOG.md
Read `/home/user/Strix/CHANGELOG.md`. Add a new section at the top (after the header lines), based on the commits from Step 1. Follow the existing format exactly:
@@ -76,7 +88,7 @@ Read `/home/user/Strix/CHANGELOG.md`. Add a new section at the top (after the he
Use today's date. Categorize commits into Added/Fixed/Changed/Technical sections. Only include sections that have entries. Write clear, user-facing descriptions (not raw commit messages).
## Step 5: Git -- commit, merge, tag, push
## Step 6: Git -- commit, merge, tag, push
```bash
cd /home/user/Strix
@@ -94,7 +106,7 @@ git merge main
git push origin develop
```
## Step 6: Build and push Docker image
## Step 7: Build and push Docker image
```bash
cd /home/user/Strix
@@ -107,7 +119,7 @@ docker buildx build --platform linux/amd64,linux/arm64 \
--push .
```
## Step 7: Verify Docker Hub
## Step 8: Verify Docker Hub
```bash
curl -s "https://hub.docker.com/v2/repositories/eduard256/strix/tags/?page_size=10" | jq '.results[].name'
@@ -116,7 +128,7 @@ docker manifest inspect eduard256/strix:$VERSION | jq '.manifests[].platform'
Verify the new version tag exists and both amd64 and arm64 platforms are present.
## Step 8: Smoke test
## Step 9: Smoke test
```bash
docker run --rm -d --name strix-smoke-test -p 14567:4567 eduard256/strix:$VERSION
@@ -127,7 +139,7 @@ docker stop strix-smoke-test
Verify the health endpoint returns the correct version string.
## Step 9: Update hassio-strix
## Step 10: Update hassio-strix
```bash
cd /home/user/hassio-strix
@@ -136,7 +148,7 @@ git pull origin main
Edit `/home/user/hassio-strix/strix/config.json` -- change `"version"` to the new VERSION.
Edit `/home/user/hassio-strix/strix/CHANGELOG.md` -- add the same CHANGELOG section as in Step 4.
Edit `/home/user/hassio-strix/strix/CHANGELOG.md` -- add the same CHANGELOG section as in Step 5.
```bash
cd /home/user/hassio-strix
@@ -145,7 +157,7 @@ git commit -m "Release v$VERSION"
git push origin main
```
## Step 10: GitHub Release
## Step 11: GitHub Release
```bash
cd /home/user/Strix
@@ -155,7 +167,7 @@ gh release create v$VERSION \
--notes "$(git log --oneline ${PREV_TAG}..v$VERSION)"
```
## Step 11: Final report
## Step 12: Final report
Output a summary: