From 0617c9b9048d055eb02b8e0be929cc159d21719c Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 7 Apr 2022 22:00:38 +0200 Subject: [PATCH 1/2] forgot to add part for creating filename --- src/package.v | 1 + 1 file changed, 1 insertion(+) diff --git a/src/package.v b/src/package.v index 41251a6..a6be636 100644 --- a/src/package.v +++ b/src/package.v @@ -191,6 +191,7 @@ pub fn (pkg &Pkg) filename() string { ext := match pkg.compression { 0 { '.tar' } 1 { '.tar.gz' } + 6 { '.tar.xz' } 14 { '.tar.zst' } else { panic("Another compression code shouldn't be possible. Faulty code: $pkg.compression") } } From ffd83eeb18fce475210166919af7ee5a701fce50 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 7 Apr 2022 22:01:59 +0200 Subject: [PATCH 2/2] Vieter releases are now also aarch64 --- .woodpecker/.arch.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.woodpecker/.arch.yml b/.woodpecker/.arch.yml index 3fdf102..ab3c6ea 100644 --- a/.woodpecker/.arch.yml +++ b/.woodpecker/.arch.yml @@ -1,9 +1,14 @@ -platform: linux/amd64 +matrix: + PLATFORM: + - linux/amd64 + - linux/arm64 + +platform: ${PLATFORM} branches: [dev] pipeline: build: - image: 'archlinux:base-devel' + image: 'menci/archlinuxarm:base-devel' commands: # Update packages - pacman -Syu --noconfirm @@ -17,7 +22,7 @@ pipeline: - makepkg -s --noconfirm --needed publish: - image: 'archlinux:base-devel' + image: 'curlimages/curl' commands: # Publish the package - 'for pkg in $(ls -1 *.pkg*); do curl -XPOST -T "$pkg" -H "X-API-KEY: $VIETER_API_KEY" https://arch.r8r.be/vieter/publish; done'