feat: automate tag release pipeline
continuous-integration/drone/tag Build is failing

This commit is contained in:
2026-05-25 11:26:02 +08:00
parent 57e4dc72aa
commit d302614b99
16 changed files with 1220 additions and 3 deletions
+25
View File
@@ -42,6 +42,31 @@ Quick access check:
curl -I https://wksgx-1343191620.cos.ap-nanjing.myqcloud.com/star-chart-search-enhancer/latest.json
```
## Drone Release Flow
Tag the repo to trigger the release pipeline:
```bash
git tag 0.0525.1
git push origin 0.0525.1
```
The Drone job will:
1. Run `npm ci`.
2. Run `npm test`.
3. Run `npm run release:tag`.
4. Build the release bundle.
5. Write `release/latest.json`.
6. Upload `latest.json`, the ZIP, and the PDF to COS.
Drone secrets required:
- `cos_secret_id`
- `cos_secret_key`
The pipeline uses the tag as the release version. Recommended format: `0.MMDD.N`.
## Coworker Install Steps
1. Unzip `star-chart-search-enhancer-internal.zip`.