Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
PaStiX
Commits
4321e9a4
Commit
4321e9a4
authored
Mar 15, 2019
by
Mathieu Faverge
Browse files
Fix URL in curl request
parent
025bbaf3
Changes
1
Show whitespace changes
Inline
Side-by-side
tools/release.sh
View file @
4321e9a4
...
...
@@ -51,7 +51,7 @@ MYURL=`eval $GETURL | jq .url | tr -d '"'`
gen_changelog
# Try to remove the release if it already exists
curl
--request
DELETE
--header
"PRIVATE-TOKEN:
$RELEASE_TOKEN
"
"
https://gitlab.inria.fr/api/v4/projects/
$CI_PROJECT_ID
/releases/v
$RELEASE_NAME
"
curl
--request
DELETE
--header
"PRIVATE-TOKEN:
$RELEASE_TOKEN
"
https://gitlab.inria.fr/api/v4/projects/
$CI_PROJECT_ID
/releases/v
$RELEASE_NAME
# Generate the curl command that create the release
COMMAND
=
`
echo
curl
--header
\"
Content-Type: application/json
\"
--header
\"
PRIVATE-TOKEN:
$RELEASE_TOKEN
\"
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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