d
This commit is contained in:
@@ -67,7 +67,8 @@ create-release:
|
|||||||
- $uploadUrl = "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/releases/v$PROJECT_VERSION/$(Split-Path $zipFile -Leaf)"
|
- $uploadUrl = "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/releases/v$PROJECT_VERSION/$(Split-Path $zipFile -Leaf)"
|
||||||
- Write-Host "上传到: $uploadUrl"
|
- Write-Host "上传到: $uploadUrl"
|
||||||
|
|
||||||
- curl --fail --show-error --location \
|
- >
|
||||||
|
curl --fail --show-error --location \
|
||||||
--header "JOB-TOKEN: $CI_JOB_TOKEN" \
|
--header "JOB-TOKEN: $CI_JOB_TOKEN" \
|
||||||
--upload-file "$zipFile" \
|
--upload-file "$zipFile" \
|
||||||
"$uploadUrl"
|
"$uploadUrl"
|
||||||
|
|||||||
Reference in New Issue
Block a user