Skip to content

Commit

Permalink
Fixing release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefarah committed Nov 16, 2024
1 parent 42db154 commit 129e597
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions scripts/xcompile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 129e597

Please sign in to comment.