fix(ci): publish beta release without checkout

This commit is contained in:
Duy Nguyen committed 2026-05-17 20:11:11 +07:00
1 parent d931dc04a3
commit 3084896dc3
2 files changed
+5

No files matched your search

+1
View File
@@ -187,6 +187,7 @@ jobs:
- name: Publish prerelease
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
TAG: ${{ needs.beta_version.outputs.tag }}
run: |
if gh release view "$TAG" >/dev/null 2>&1; then
+4
View File
@@ -14,6 +14,10 @@ Significant changes, features, and fixes in reverse chronological order.
- Added semantic-release-style beta version calculation from Conventional Commits, creating `vX.Y.Z-beta.N` tags and prereleases automatically after tests pass.
- Beta automation uploads Linux binaries and publishes `beta` Docker image tags for the same release version, with Docker Hub publishing enabled when credentials are configured.
**Fixes**
- Made beta prerelease publishing independent of a local checkout by passing the repository explicitly to GitHub CLI release commands.
---
### Agent Permissions: channel and workspace matrix