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
Krazyito
VuhDo
Commits
9b34e3f8
Commit
9b34e3f8
authored
3 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Refactor pipeline to package and upload in single job
parent
381f46bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
15 deletions
+3
-15
.gitlab-ci.yml
.gitlab-ci.yml
+3
-10
.release/release.sh
.release/release.sh
+0
-5
No files found.
.gitlab-ci.yml
View file @
9b34e3f8
...
...
@@ -16,25 +16,18 @@ luacheck:
-
luacheck . -q && echo "Lua check passed!" || echo "Lua check failed!"
package
:
stage
:
build
<<
:
*releases
stage
:
deploy
only
:
-
tags
-
web
script
:
-
cd .release
-
chmod +x ./release.sh
-
./release.sh
-d
-
./release.sh
artifacts
:
paths
:
-
.release/VuhDo/
-
.release/VuhDoOptions/
-
.release/*.zip
upload
:
<<
:
*releases
stage
:
deploy
script
:
-
cd .release
-
chmod +x ./release.sh
-
./release.sh -ocelz
This diff is collapsed.
Click to expand it.
.release/release.sh
View file @
9b34e3f8
...
...
@@ -2252,11 +2252,6 @@ if [ -z "$skip_zipfile" ]; then
upload_wago=
$(
[[
-z
"
$skip_upload
"
&&
-n
"
$wagoid
"
&&
-n
"
$wago_token
"
]]
&&
echo true
)
upload_github=
$(
[[
-z
"
$skip_upload
"
&&
-n
"
$tag
"
&&
-n
"
$project_github_slug
"
&&
-n
"
$github_token
"
]]
&&
echo true
)
echo
"Upload to CurseForge:
$upload_curseforge
"
echo
"Upload to WoWInterface:
$upload_wowinterface
"
echo
"Upload to Wago:
$upload_wago
"
echo
"Upload to GitHub:
$upload_github
"
if [[ -n
"
$upload_curseforge
"
|| -n
"
$upload_wowinterface
"
|| -n
"
$upload_github
"
|| -n
"
$upload_wago
"
]] && ! hash jq &>/dev/null; then
echo
"Skipping upload because
\"
jq
\"
was not found."
echo
...
...
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