Skip to content

Commit

Permalink
chore: remove buildnumber
Browse files Browse the repository at this point in the history
  • Loading branch information
Subilan committed Jul 31, 2024
1 parent e162296 commit 1c40b22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
n=$(cat buildnumber)
nn=$((n+1))
env GOOS=linux GOARCH=amd64 TZ=Asia/Shanghai
go build -ldflags="-X seatimc/backend/common.LastBuiltAt=$nn.$(date +%Y-%m-%d_%H:%M:%S)+08:00" -o lab
echo $nn > buildnumber
go build -ldflags="-X seatimc/backend/common.LastBuiltAt=$(date +%Y-%m-%d_%H:%M:%S)+08:00" -o lab
1 change: 0 additions & 1 deletion buildnumber

This file was deleted.

0 comments on commit 1c40b22

Please sign in to comment.