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

Commit e541513

Browse files
committed
[ci] try fix broken
1 parent 65b2de7 commit e541513

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
Build AMD64
1717
command: |
1818
version=`cat version`
19-
timestamp=`date +%Y-%m-%d %H:%M:%S`
19+
timestamp=`date "+%Y-%m-%d %H:%M:%S"`
2020
echo "version -> $version"
2121
echo "timestamp -> $timestamp"
2222
GOARCH=amd64 GOOS=windows go build -ldflags "-s -w -X main.version=$version -X \"main.timestamp=$timestamp\""" -o ~/release/fgit-windows-amd64.exe src/fgit.go
@@ -28,7 +28,7 @@ jobs:
2828
Build 386
2929
command: |
3030
version=`cat version`
31-
timestamp=`date +%Y-%m-%d %H:%M:%S`
31+
timestamp=`date "+%Y-%m-%d %H:%M:%S"`
3232
echo "version -> $version"
3333
echo "timestamp -> $timestamp"
3434
GOARCH=386 GOOS=windows go build -ldflags "-s -w -X main.version=$version -X \"main.timestamp=$timestamp\"" -o ~/release/fgit-windows-386.exe src/fgit.go
@@ -39,7 +39,7 @@ jobs:
3939
Build ARM
4040
command: |
4141
version=`cat version`
42-
timestamp=`date +%Y-%m-%d %H:%M:%S`
42+
timestamp=`date "+%Y-%m-%d %H:%M:%S"`
4343
echo "version -> $version"
4444
echo "timestamp -> $timestamp"
4545
GOARCH=arm GOOS=linux go build -ldflags "-s -w -X main.version=$version -X \"main.timestamp=$timestamp\"" -o ~/release/fgit-linux-arm src/fgit.go
@@ -49,7 +49,7 @@ jobs:
4949
Build ARM64
5050
command: |
5151
version=`cat version`
52-
timestamp=`date +%Y-%m-%d %H:%M:%S`
52+
timestamp=`date "+%Y-%m-%d %H:%M:%S"`
5353
echo "version -> $version"
5454
echo "timestamp -> $timestamp"
5555
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

0 commit comments

Comments
 (0)