Commit 6637fdb0 authored by ale's avatar ale
Browse files

Try different encoding of CI release upload string

parent 0f5db387
Pipeline #11509 passed with stages
in 1 minute and 12 seconds
......@@ -30,11 +30,11 @@ release:
image: golang:1.15
variables:
VERSION: $CI_COMMIT_TAG
script: |
mkdir liber-${VERSION}
go build -o liber-${VERSION}/liber ./cmd/liber
tar czf liber-${VERSION}.tar.gz liber-${VERSION}
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file liber-${VERSION}.tar.gz ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/liber/${VERSION}/liber-${VERSION}.tar.gz
script:
- mkdir liber-${VERSION}
- go build -o liber-${VERSION}/liber ./cmd/liber
- tar czf liber-${VERSION}.tar.gz liber-${VERSION}
- "curl --header 'JOB-TOKEN: $CI_JOB_TOKEN' --upload-file liber-${VERSION}.tar.gz ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/liber/${VERSION}/liber-${VERSION}.tar.gz"
only:
- tags
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment