From 129e597346b2b49f86ef1d4b8a27848ae72aeaf9 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Sat, 16 Nov 2024 15:43:21 +1100 Subject: [PATCH] Fixing release pipeline --- .github/workflows/release.yml | 2 -- scripts/xcompile.sh | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9d765019a..ca0aa2e0e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,8 +41,6 @@ jobs: run: | sudo apt-get install rhash -y go install github.com/goreleaser/goreleaser/v2@latest - mkdir -p build - cp yq.1 build/yq.1 ./scripts/xcompile.sh - name: Release diff --git a/scripts/xcompile.sh b/scripts/xcompile.sh index 41847eaf2d..8009e13586 100755 --- a/scripts/xcompile.sh +++ b/scripts/xcompile.sh @@ -8,8 +8,12 @@ if [ -z "$CI" ]; then GORELEASER+=" --snapshot" fi +mkdir -p build + $GORELEASER +cp yq.1 build/yq.1 + cd build # Remove artifacts from goreleaser