Remove git commit message from binary

This appears to have broken CI at least three times now and
prevented us from shipping a release binary for a tag.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd)
2021-01-31 09:21:33 +00:00
parent 82cd46ef2a
commit f98213a428
4 changed files with 1 additions and 7 deletions

View File

@ -26,11 +26,9 @@ const NameExpression = "-a-zA-Z_0-9."
func main() {
if len(version.GitCommitMessage) == 0 {
version.GitCommitMessage = "Place-holder for commit message"
version.GitCommitMessage = "See GitHub for latest changes"
}
// log.Printf("Commit: %s", version.GitCommitMessage)
osEnv := types.OsEnv{}
readConfig := types.ReadConfig{}
config, configErr := readConfig.Read(osEnv)