From 7803e08cb4146df78e8bbe732ca54e1f97ba9e71 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sun, 2 Jan 2022 14:23:17 +0100 Subject: [PATCH] Hopefully allow multiple packages to be published --- .woodpecker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 7382536..1a4b02c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -17,4 +17,5 @@ pipeline: image: 'archlinux:latest' commands: # Publish the package - - 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish' + - 'ls -1 *.pkg* | xargs -I{} curl -F "file=@{}" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish' + # - 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish'