This commit is contained in:
2026-01-25 15:24:14 +08:00
parent c53f80748d
commit dce712ffff

View File

@@ -67,9 +67,9 @@ create-release:
- $uploadUrl = "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/releases/v$PROJECT_VERSION/$(Split-Path $zipFile -Leaf)"
- Write-Host "上传到: $uploadUrl"
- curl --fail --show-error --location `
--header "JOB-TOKEN: $CI_JOB_TOKEN" `
--upload-file "$zipFile" `
- curl --fail --show-error --location \
--header "JOB-TOKEN: $CI_JOB_TOKEN" \
--upload-file "$zipFile" \
"$uploadUrl"
release:
tag_name: $RELEASE_TAG