From f929379569e3c69cfb4021d6814882f104a786ec Mon Sep 17 00:00:00 2001 From: "." <.@.> Date: Sat, 27 Aug 2016 17:53:04 +1200 Subject: [PATCH] fix build script not overwriting app_version --HG-- branch : nmdc-ircfrontend --- typedefs.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/typedefs.go b/typedefs.go index 4bc1b45..e20f90c 100644 --- a/typedefs.go +++ b/typedefs.go @@ -18,8 +18,11 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ +var ( + APP_VERSION = "1.x.x-dev" // overridden with build ldflags +) + const ( - APP_VERSION = "1.x.x-dev" // override with build ldflags APP_NAME = "nmdc-ircfrontend" BLESSED_CHANNEL = "#chat" // must be lowercase BLESSED_CHANNEL_MODE = "n" // means that you have to be in the channel to chat, but that's it