Commit 9b34e3f8 authored by Ivaria's avatar Ivaria

Refactor pipeline to package and upload in single job

parent 381f46bc
......@@ -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
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment