Skip to content

Commit

Permalink
Fix build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
latenssi committed Sep 1, 2021
1 parent 9865ed7 commit 20f7141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

now=$(date +'%Y-%m-%d_%T')
go build -a -ldflags "-linkmode external -extldflags '-static' -s -w -X main.sha1ver=`git rev-parse HEAD` -X main.buildTime=$now" -o main main.go

0 comments on commit 20f7141

Please sign in to comment.