Remove Webapp Build Hash (#22706)
* Remove Webapp Build Hash A discrete webapp build hash is no longer needed with the mono-repo. * i18n-extract
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8cc7d7ba4a
Коммит
64051134b8
@@ -87,14 +87,8 @@ else
|
||||
endif
|
||||
|
||||
# Boards
|
||||
BUILD_BOARDS = true
|
||||
BUILD_HASH_BOARDS = $(BUILD_HASH)
|
||||
export MM_FEATUREFLAGS_BoardsProduct=true
|
||||
|
||||
# Playbooks
|
||||
BUILD_PLAYBOOKS ?= true
|
||||
BUILD_HASH_PLAYBOOKS = $(BUILD_HASH)
|
||||
|
||||
# We need current user's UID for `run-haserver` so docker compose does not run server
|
||||
# as root and mess up file permissions for devs. When running like this HOME will be blank
|
||||
# and docker will add '/', so we need to set the go-build cache location or we'll get
|
||||
@@ -116,9 +110,6 @@ LDFLAGS += -X "github.com/mattermost/mattermost-server/v6/model.BuildDate=$(BUIL
|
||||
LDFLAGS += -X "github.com/mattermost/mattermost-server/v6/model.BuildHash=$(BUILD_HASH)"
|
||||
LDFLAGS += -X "github.com/mattermost/mattermost-server/v6/model.BuildHashEnterprise=$(BUILD_HASH_ENTERPRISE)"
|
||||
LDFLAGS += -X "github.com/mattermost/mattermost-server/v6/model.BuildEnterpriseReady=$(BUILD_ENTERPRISE_READY)"
|
||||
LDFLAGS += -X "github.com/mattermost/mattermost-server/v6/model.BuildHashBoards=$(BUILD_HASH_BOARDS)"
|
||||
LDFLAGS += -X "github.com/mattermost/mattermost-server/v6/model.BuildBoards=$(BUILD_BOARDS)"
|
||||
LDFLAGS += -X "github.com/mattermost/mattermost-server/v6/model.BuildHashPlaybooks=$(BUILD_HASH_PLAYBOOKS)"
|
||||
|
||||
GO_MAJOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1)
|
||||
GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
|
||||
|
||||
Ссылка в новой задаче
Block a user