diff options
author | 2021-06-28 12:17:20 +0200 | |
---|---|---|
committer | 2021-06-28 12:17:20 +0200 | |
commit | 4f3b3f5c0b00b8c47c7e7d8e6c2dda624e114cde (patch) | |
tree | af7583b906543148fcd00c2e4e3bf0525f03be18 /internal/config/default.go | |
parent | Remote instance dereferencing (#70) (diff) | |
download | gotosocial-4f3b3f5c0b00b8c47c7e7d8e6c2dda624e114cde.tar.xz |
put version in binary properly (#73)
Addresses #71 :
Set version on the CLI framework.
Add a build.sh script that injects variables into the build tooling using git and a version file.
Set version in config.
Diffstat (limited to 'internal/config/default.go')
-rw-r--r-- | internal/config/default.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/config/default.go b/internal/config/default.go index 2cc46c996..40df4c57e 100644 --- a/internal/config/default.go +++ b/internal/config/default.go @@ -1,7 +1,5 @@ package config -const softwareVersion = "0.1.0-SNAPSHOT" - // TestDefault returns a default config for testing func TestDefault() *Config { defaults := GetTestDefaults() @@ -121,7 +119,6 @@ func GetDefaults() Defaults { ConfigPath: "", Host: "", Protocol: "https", - SoftwareVersion: softwareVersion, DbType: "postgres", DbAddress: "localhost", @@ -168,7 +165,6 @@ func GetTestDefaults() Defaults { ConfigPath: "", Host: "localhost:8080", Protocol: "http", - SoftwareVersion: softwareVersion, DbType: "postgres", DbAddress: "localhost", |