diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 27ee0bb..9027054 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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)" - Write-Host "上传到: $uploadUrl" - - curl --fail --show-error --location \ + - > + curl --fail --show-error --location \ --header "JOB-TOKEN: $CI_JOB_TOKEN" \ --upload-file "$zipFile" \ "$uploadUrl"