diff options
Diffstat (limited to 'ci/taskfile.yaml')
-rw-r--r-- | ci/taskfile.yaml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ci/taskfile.yaml b/ci/taskfile.yaml index 1a36e41..a27b1ac 100644 --- a/ci/taskfile.yaml +++ b/ci/taskfile.yaml @@ -18,6 +18,9 @@ includes: container: dir: container #always run from the container directory taskfile: container/Taskfile.yaml + vars: + BUILDS_URL: '{{.BUILDS_URL}}' + PACKAGE_FILE_NAME: "sb-alpine3.19-oci.tgz" #the name of the output package file tasks: @@ -30,7 +33,9 @@ tasks: #copy setup script for linux - cmd: powershell -Command "mkdir lib -Force" ignore_error: true - - cmd: powershell -Command "cp setup.sh lib/ -Force" + - cmd: wsl dos2unix ./setup.sh #convert the setup script to unix line endings for linux + platform: [ win-x64 ] + - powershell -Command "cp setup.sh lib/ -Force" - task: install-plugins - task: install-webserver @@ -55,6 +60,11 @@ tasks: vars: TARGET_OS: '{{.ITEM}}' + #cleanup unnecessary build files that clog up the pipeline + - for: [ build, plugins, dist, lib ] + cmd: powershell -Command "rm -Recurse '{{.ITEM}}'" + ignore_error: true + - task: container:postbuild_success install-plugins: |