From 876ae76b22865fdbdb06f250dab2d89b0c2cf423 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sun, 2 Jan 2022 15:17:29 +0100 Subject: [PATCH 1/2] Let's test this after an update [CI SKIP] --- .woodpecker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1a4b02c..72d28d3 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -17,5 +17,6 @@ pipeline: image: 'archlinux:latest' commands: # Publish the package - - 'ls -1 *.pkg* | xargs -I{} curl -F "file=@{}" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish' + - 'for pkg in $(ls -1 *.pkg*); do curl -F "file=@{}" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish; done' + # - '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' From da9bb8cf2e1e996f5b18b6ea920c4f1afd10b698 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sun, 2 Jan 2022 15:18:11 +0100 Subject: [PATCH 2/2] Ffs dude [CI SKIP] --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 72d28d3..bbb3ea8 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -17,6 +17,6 @@ pipeline: image: 'archlinux:latest' commands: # Publish the package - - 'for pkg in $(ls -1 *.pkg*); do curl -F "file=@{}" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish; done' + - 'for pkg in $(ls -1 *.pkg*); do curl -F "file=@${pkg}" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish; done' # - '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'