tweak plugin id/version injection
* define BUNDLE_NAME after including build/setup.mk (just for clarity, not correctness) * separate plugin id from version with dash in bundle name to match Mattermost package * fix various js/go idioms (some pre-existing!) * fix error message
This commit is contained in:
parent
a0e9acdbaf
commit
5b2980d1ac
6 changed files with 28 additions and 17 deletions
|
@ -1,4 +1,9 @@
|
|||
package main
|
||||
|
||||
const PluginId = "com.mattermost.sample-plugin"
|
||||
const PluginVersion = "0.0.1"
|
||||
var manifest = struct {
|
||||
Id string
|
||||
Version string
|
||||
}{
|
||||
Id: "com.mattermost.sample-plugin",
|
||||
Version: "0.0.1",
|
||||
}
|
||||
|
|
Reference in a new issue