mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-11 18:45:36 +00:00
Fixing release pipeline
This commit is contained in:
parent
42db154e2e
commit
129e597346
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -41,8 +41,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get install rhash -y
|
sudo apt-get install rhash -y
|
||||||
go install github.com/goreleaser/goreleaser/v2@latest
|
go install github.com/goreleaser/goreleaser/v2@latest
|
||||||
mkdir -p build
|
|
||||||
cp yq.1 build/yq.1
|
|
||||||
./scripts/xcompile.sh
|
./scripts/xcompile.sh
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
|
@ -8,8 +8,12 @@ if [ -z "$CI" ]; then
|
|||||||
GORELEASER+=" --snapshot"
|
GORELEASER+=" --snapshot"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p build
|
||||||
|
|
||||||
$GORELEASER
|
$GORELEASER
|
||||||
|
|
||||||
|
cp yq.1 build/yq.1
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
# Remove artifacts from goreleaser
|
# Remove artifacts from goreleaser
|
||||||
|
Loading…
Reference in New Issue
Block a user