Make the builds reproducable based on commit sha

This commit is contained in:
Thomas Boerger
2016-02-21 11:06:41 +01:00
parent 1e25bfea90
commit 5ac45ceff9
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -20,11 +20,11 @@ const (
)
var (
buildDate string
buildCommit string
)
func main() {
fmt.Printf("Drone Webhook Plugin built at %s\n", buildDate)
fmt.Printf("Drone Webhook Plugin built from %s\n", buildCommit)
system := drone.System{}
repo := drone.Repo{}