Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
c948e023
Commit
c948e023
authored
5 years ago
by
Matthias Betz
Browse files
Options
Download
Email Patches
Plain Diff
repairing release CI
parent
9cfc652a
Pipeline
#304
passed with stage
in 42 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 @
c948e023
...
@@ -21,7 +21,7 @@ release:
...
@@ -21,7 +21,7 @@ release:
-
echo ${FILE_URL}
-
echo ${FILE_URL}
-
'
DATA="{""name"":
""Release
${CI_COMMIT_TAG}"",
""tag_name"":
""${CI_COMMIT_TAG}"",
""description"":
""RegionChooser
Release"",
""assets"":
{
""links"":
[{
""name"":
""${FILE}"",
""url"":
""${CI_PROJECT_URL}${FILE_URL}""}]
}
}"'
-
'
DATA="{""name"":
""Release
${CI_COMMIT_TAG}"",
""tag_name"":
""${CI_COMMIT_TAG}"",
""description"":
""RegionChooser
Release"",
""assets"":
{
""links"":
[{
""name"":
""${FILE}"",
""url"":
""${CI_PROJECT_URL}${FILE_URL}""}]
}
}"'
-
echo ${DATA}
-
echo ${DATA}
-
curl --header "Content-Type
:
application/json" --header "Private-Token
:
${TOKEN}" --data ${DATA} --request POST ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/releases
-
'
curl
--header
"Content-Type:
application/json"
--header
"Private-Token:
${TOKEN}"
--data
${DATA}
--request
POST
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/releases
'
only
:
only
:
refs
:
refs
:
-
tags
-
tags
...
...
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
Menu
Explore
Projects
Groups
Snippets