d
This commit is contained in:
@@ -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)"
|
- $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"
|
||||||
release:
|
release:
|
||||||
tag_name: $RELEASE_TAG
|
tag_name: $RELEASE_TAG
|
||||||
|
|||||||
Reference in New Issue
Block a user