Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
3d3eb58f
Commit
3d3eb58f
authored
5 years ago
by
Matthias Betz
Browse files
Options
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
43b0f9b4
Pipeline
#292
failed with stage
in 38 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-1
.gitlab-ci.yml
with
1 addition
and
1 deletion
+1
-1
.gitlab-ci.yml
+
1
-
1
View file @
3d3eb58f
...
...
@@ -15,7 +15,7 @@ release:
-
echo ${CI_COMMIT_TAG}
-
echo ${CI_API_V4_URL}
-
echo ${CI_PROJECT_URL}
-
'
UPLOAD_RESULT
=
curl
--request
POST
--header
'
'
PRIVATE-TOKEN:
${TOKEN}'
'
--form
"file=@${FILE}"
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/uploads'
-
'
UPLOAD_RESULT=
curl
--request
POST
--header
'
'
PRIVATE-TOKEN:
${TOKEN}'
'
--form
"file=@${FILE}"
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/uploads'
-
echo ${UPLOAD_RESULT}
-
FILE_URL = echo $UPLOAD_RESULT | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["url"]'
-
echo ${FILE_URL}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment