Commit fc1be167 authored by Anatolie Lupacescu's avatar Anatolie Lupacescu Committed by GitHub

fix: add commit time in releaser (#2196)

parent 0c04cf56
...@@ -11,7 +11,7 @@ builds: ...@@ -11,7 +11,7 @@ builds:
- -v - -v
- -trimpath - -trimpath
ldflags: ldflags:
- -s -w -X github.com/ethersphere/bee.version={{.Version}} -X github.com/ethersphere/bee.commit={{.ShortCommit}} - -s -w -X github.com/ethersphere/bee.version={{.Version}} -X github.com/ethersphere/bee.commit={{.ShortCommit}} -X github.com/ethersphere/bee.commitTime={{.CommitTimestamp}}
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
goos: goos:
...@@ -30,7 +30,7 @@ builds: ...@@ -30,7 +30,7 @@ builds:
- -v - -v
- -trimpath - -trimpath
ldflags: ldflags:
- -s -w -X github.com/ethersphere/bee.version={{.Version}} -X github.com/ethersphere/bee.commit={{.ShortCommit}} - -s -w -X github.com/ethersphere/bee.version={{.Version}} -X github.com/ethersphere/bee.commit={{.ShortCommit}} -X github.com/ethersphere/bee.commitTime={{.CommitTimestamp}}
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
goos: goos:
...@@ -51,7 +51,7 @@ builds: ...@@ -51,7 +51,7 @@ builds:
- -v - -v
- -trimpath - -trimpath
ldflags: ldflags:
- -s -w -X github.com/ethersphere/bee.version={{.Version}} -X github.com/ethersphere/bee.commit={{.ShortCommit}} - -s -w -X github.com/ethersphere/bee.version={{.Version}} -X github.com/ethersphere/bee.commit={{.ShortCommit}} -X github.com/ethersphere/bee.commitTime={{.CommitTimestamp}}
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
goos: goos:
...@@ -66,7 +66,7 @@ builds: ...@@ -66,7 +66,7 @@ builds:
- -v - -v
- -trimpath - -trimpath
ldflags: ldflags:
- -s -w -X github.com/ethersphere/bee.version={{.Version}} -X github.com/ethersphere/bee.commit={{.ShortCommit}} - -s -w -X github.com/ethersphere/bee.version={{.Version}} -X github.com/ethersphere/bee.commit={{.ShortCommit}} -X github.com/ethersphere/bee.commitTime={{.CommitTimestamp}}
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
goos: goos:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment