Skip to content

Commit be89b48

Browse files
committed
feat: support loong64 arch
fix version-fox#142
1 parent 8a9a9d5 commit be89b48

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.goreleaser.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,16 @@ builds:
1717
- amd64
1818
- arm
1919
- arm64
20+
- loong64
2021
goarm:
2122
- "7"
2223
ignore:
2324
- goos: windows
2425
goarch: arm
26+
- goos: windows
27+
goarch: loong64
28+
- goos: darwin
29+
goarch: loong64
2530
mod_timestamp: "{{ .CommitTimestamp }}"
2631
flags:
2732
- -trimpath

install.sh

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ ARCH_TYPE=$(uname -m)
3131

3232
if [ "$ARCH_TYPE" = "arm64" ]; then
3333
ARCH_TYPE="aarch64"
34+
elif [ "$ARCH_TYPE" = "loongarch64" ]; then
35+
ARCH_TYPE="loong64"
3436
fi
3537

3638
FILENAME="vfox_${VERSION}_${OS_TYPE}_${ARCH_TYPE}"

0 commit comments

Comments
 (0)