fix: prevent commit sha from overriding panel version
This commit is contained in:
1 parent
3ca1aa1450
commit
c1f406f1f0
2 files changed
+4
-3
No files matched your search
@@ -116,7 +116,8 @@ jobs:
|
||||
NEXT_PUBLIC_WS_URL=${{ vars.NEXT_PUBLIC_WS_URL }}
|
||||
NEXT_PUBLIC_API_PORT=${{ vars.NEXT_PUBLIC_API_PORT || '4000' }}
|
||||
NEXT_PUBLIC_PANEL_NAME=${{ vars.NEXT_PUBLIC_PANEL_NAME || 'DOKTAINER' }}
|
||||
NEXT_PUBLIC_VERSION=${{ github.ref_type == 'tag' && github.ref_name || github.sha }}
|
||||
# NEXT_PUBLIC_VERSION=${{ github.ref_type == 'tag' && github.ref_name || github.sha }}
|
||||
NEXT_PUBLIC_VERSION=${{ vars.NEXT_PUBLIC_VERSION || 'v0.1.0' }}
|
||||
NEXT_PUBLIC_BATCH=${{ vars.NEXT_PUBLIC_BATCH || 'Batch-20260606' }}
|
||||
|
||||
- name: Post-push summary
|
||||
|
||||
Reference in new issue
Block a user