Skip to content

Commit 129e597

Browse files
committed
Fixing release pipeline
1 parent 42db154 commit 129e597

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ jobs:
4141
run: |
4242
sudo apt-get install rhash -y
4343
go install github.com/goreleaser/goreleaser/v2@latest
44-
mkdir -p build
45-
cp yq.1 build/yq.1
4644
./scripts/xcompile.sh
4745
4846
- name: Release

scripts/xcompile.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ if [ -z "$CI" ]; then
88
GORELEASER+=" --snapshot"
99
fi
1010

11+
mkdir -p build
12+
1113
$GORELEASER
1214

15+
cp yq.1 build/yq.1
16+
1317
cd build
1418

1519
# Remove artifacts from goreleaser

0 commit comments

Comments
 (0)