Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 52de22b

Browse files
committed
[ci] add archive & fix ARM64
1 parent 7a0a8a5 commit 52de22b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.circleci/config.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,16 @@ jobs:
5050
command: |
5151
version=`cat version`
5252
timestamp=`date +%Y%m%d%H%M%S`
53+
echo "version -> $version"
54+
echo "timestamp -> $timestamp"
5355
GOARCH=arm64 GOOS=linux go build -ldflags "-s -w -X main.version=$version -X main.timestamp=$timestamp" -o ~/release/fgit-linux-arm64 src/fgit.go
54-
56+
57+
- run:
58+
name:
59+
Archive
60+
command: |
61+
tar -zcvf ~/release/all.tar.gz ~/release
62+
5563
- store_artifacts:
5664
path: ~/release
5765
destination: CI Build

0 commit comments

Comments
 (0)