Bump
Former-commit-id: d044cbb1118c6a46e101d127bc914a6868600c21 [formerly 81ebab557abb1346b856105cf45594b827cb96e0] [formerly 310a36d58ac56a0caf13a43bb6b4bd130afbcd9f [formerly 35bc79eb615d627824b6ff1d87b7ea2ef9be58e8]] Former-commit-id: 16a9ca0665cecd7dc2e4133bb478ffe65683408c [formerly 18e28a2de9681679d2a8550785a2eb88f6bc6452] Former-commit-id: 70a437791f593ca56694c17867ba8004fcf48138 Former-commit-id: 46ad8a72d89a9c526975afb3f5c1189a2fc9fe90 Former-commit-id: 5414411d23e6ecbb79a5466c29d3073835dba1a2 Former-commit-id: 69de535552b06cb18e69ef7f6028e437b87827a1 [formerly 72586922fbaf8525a881e155e925d47a7601b27c] Former-commit-id: c2a7019a3f2d46f69179549f317ca407b9c6dc6f
This commit is contained in:
parent
b726d9d06e
commit
c9ec00b975
2 changed files with 4 additions and 2 deletions
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -115,7 +115,7 @@ jobs:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
- name: list artifacts
|
- name: list artifacts
|
||||||
run: ls * ; ls artifacts/*
|
run: ls artifacts/*
|
||||||
|
|
||||||
# Goreleaser
|
# Goreleaser
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
|
|
|
@ -7,6 +7,8 @@ go_arch=$1
|
||||||
go_os=$2
|
go_os=$2
|
||||||
project_name=$3
|
project_name=$3
|
||||||
|
|
||||||
|
rm -rf dist/*
|
||||||
|
|
||||||
case $go_arch in
|
case $go_arch in
|
||||||
amd64) rust_arch='x86_64' ;;
|
amd64) rust_arch='x86_64' ;;
|
||||||
arm64) rust_arch='aarch64' ;;
|
arm64) rust_arch='aarch64' ;;
|
||||||
|
@ -21,5 +23,5 @@ case $go_os in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Find artifacts and uncompress in the corresponding directory
|
# Find artifacts and uncompress in the corresponding directory
|
||||||
find artifacts -type f -name "*${rust_arch}*${rust_os}*" -exec unzip -d dist/${project_name}_${go_os}_${go_arch} {} \;
|
find artifacts -type f -wholename "*${rust_arch}*${rust_os}*" -exec cp {} dist/${project_name}_${go_os}_${go_arch} \;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue