Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ builds:
- amd64
- arm64
ldflags:
- -s -w -X main.version={{.Version}}
- -s -w -X main.Version={{.Version}}

archives:
- formats: [tar.gz]
Expand Down
6 changes: 3 additions & 3 deletions cmd/workflow-plugin-eventbus/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ package main

import sdk "github.com/GoCodeAlone/workflow/plugin/external/sdk"

// version is stamped at release time via goreleaser ldflags (-X main.version=<tag>).
var version = "0.0.0"
// Version is stamped at release time via goreleaser ldflags (-X main.Version=<tag>).
var Version = "0.0.0"

func main() {
sdk.Serve(&eventbusPlugin{}, sdk.WithBuildVersion(sdk.ResolveBuildVersion(version)))
sdk.Serve(&eventbusPlugin{}, sdk.WithBuildVersion(sdk.ResolveBuildVersion(Version)))
}
2 changes: 1 addition & 1 deletion cmd/workflow-plugin-eventbus/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var (
func (p *eventbusPlugin) Manifest() sdk.PluginManifest {
return sdk.PluginManifest{
Name: "workflow-plugin-eventbus",
Version: version,
Version: Version,
Author: "GoCodeAlone",
Description: "Provisions durable event-bus clusters (NATS / Kafka / Kinesis) as IaC and exposes typed pipeline steps for publish / consume operations.",
}
Expand Down
Loading