forked from mattermost-community/mattermost-plugin-todo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix rudder key (mattermost-community#205)
After some name changing, MM_RUDDER_WRITE_KEY has become MM_RUDDER_PLUGINS_PROD. Fix custom.mk so we get the right data.
- Loading branch information
Showing
2 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Include custom targets and environment variables here | ||
ifndef MM_RUDDER_WRITE_KEY | ||
MM_RUDDER_WRITE_KEY = 1d5bMvdrfWClLxgK1FvV3s4U1tg | ||
|
||
# If there's no MM_RUDDER_PLUGINS_PROD, add DEV data | ||
RUDDER_WRITE_KEY = 1d5bMvdrfWClLxgK1FvV3s4U1tg | ||
ifdef MM_RUDDER_PLUGINS_PROD | ||
RUDDER_WRITE_KEY = $(MM_RUDDER_PLUGINS_PROD) | ||
endif | ||
GO_BUILD_FLAGS += -ldflags '-X "github.com/mattermost/mattermost-plugin-api/experimental/telemetry.rudderWriteKey=$(MM_RUDDER_WRITE_KEY)"' | ||
|
||
GO_BUILD_FLAGS += -ldflags '-X "github.com/mattermost/mattermost-plugin-api/experimental/telemetry.rudderWriteKey=$(RUDDER_WRITE_KEY)"' |