This repository was archived by the owner on Jun 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
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
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
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
You can’t perform that action at this time.
0 commit comments