Skip to content

Commit 0581458

Browse files
authored
chore: align internal.Version sentinel to 0.0.0 (workflow#764) (#20)
ldflag injects real version at release; sentinel was 'dev' but workflow#762 standardizes on '0.0.0' so wfctl plugin validate-contract --for-publish can ParseSemver it without a special case.
1 parent 925e7bf commit 0581458

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
// Version is set at build time via -ldflags
1010
// "-X github.com/GoCodeAlone/workflow-plugin-github/internal.Version=X.Y.Z"
11-
var Version = "dev"
11+
var Version = "0.0.0"
1212

1313
// webhookRouteConfig is the config fragment YAML that declares the GitHub
1414
// webhook HTTP route so the engine's HTTP server registers it via the normal

0 commit comments

Comments
 (0)