fixes for 3d8672ff5b9c
--HG-- branch : nmdc-ircfrontend
This commit is contained in:
parent
e0e5c742e3
commit
3cffacaa45
@ -97,7 +97,7 @@ single_build() {
|
||||
|
||||
# Build.
|
||||
# GOARCH/GOOS supplied in function env
|
||||
go build -a "-X main.APP_VERSION=${version}" -ldflags '-s -w' -o "$(pathfix "${tmpdir}/${local_bin_name}")"
|
||||
go build -a -ldflags "-s -w -X main.APP_VERSION=${version}" -o "$(pathfix "${tmpdir}/${local_bin_name}")"
|
||||
|
||||
# Sanitise.
|
||||
sanitise "${tmpdir}/${local_bin_name}"
|
||||
|
@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
const (
|
||||
APP_VERSION = "1.x.x-dev"
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user