Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
omicron
VuhDo
Commits
ce982095
Commit
ce982095
authored
5 years ago
by
Ivaria
Browse files
Options
Download
Plain Diff
Merge branch 'master' into classic
parents
c7d8e6fa
19bd6626
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
.release/release.sh
.release/release.sh
+2
-1
No files found.
.release/release.sh
View file @
ce982095
...
...
@@ -2483,7 +2483,7 @@ if [ -z "$skip_upload" ]; then
# delete existing release for the tag
curl
-sS
-X
DELETE
-H
"PRIVATE-TOKEN:
$gitlab_token
"
"https://gitlab.vuhdo.io/api/v4/projects/
$gitlab_id
/releases/
$tag
"
>
/dev/null
_gl_payload_desc
=
$(
cat
"
$changelog_githost
"
| jq
--slurp
--raw-input
'.'
|
awk
-F
'--------------------------------------------------------------'
'{print $1 FS "."}'
|
sed
-e
's/.\{63\}$/
"
/'
)
_gl_payload_desc
=
$(
cat
"
$changelog_githost
"
| jq
--slurp
--raw-input
'.'
|
awk
-F
'--------------------------------------------------------------'
'{print $1 FS "."}'
|
sed
-e
's/.\{63\}$//'
)
if
[[
-n
"
$slug
"
||
-n
"
$addonid
"
]]
;
then
_gl_payload_desc
=
"
$_gl_payload_desc
"
'\nGet it from '
...
...
@@ -2510,6 +2510,7 @@ if [ -z "$skip_upload" ]; then
EOF
)
echo
"PAYLOAD[
$gitlab_id
]:
$_gl_payload
"
echo
"Creating GitLab release: https://gitlab.vuhdo.io/
$gitlab_slug
/releases"
resultfile
=
"
$releasedir
/gl_result.json"
result
=
$(
curl
-sS
--retry
3
--retry-delay
10
\
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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