aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/version/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/version/version.go')
-rw-r--r--swarm/version/version.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/swarm/version/version.go b/swarm/version/version.go
index d5ec31f9f..f3184627b 100644
--- a/swarm/version/version.go
+++ b/swarm/version/version.go
@@ -41,6 +41,9 @@ var VersionWithMeta = func() string {
return v
}()
+// Git SHA1 commit hash of the release, will be set by main.init() function
+var GitCommit string
+
// ArchiveVersion holds the textual version string used for Swarm archives.
// e.g. "0.3.0-dea1ce05" for stable releases, or
// "0.3.1-unstable-21c059b6" for unstable releases