Skip to content

Commit

Permalink
fix: vendored in zarf version tag (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
decleaver committed Mar 21, 2024
1 parent f4ea495 commit f0f6c9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cmd/vendored.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package cmd
import (
"os"
"runtime/debug"
"strings"

runnerCLI "github.com/defenseunicorns/maru-runner/src/cmd"
runnerConfig "github.com/defenseunicorns/maru-runner/src/config"
Expand Down Expand Up @@ -57,7 +56,7 @@ func init() {
if buildInfo, ok := debug.ReadBuildInfo(); ok {
for _, dep := range buildInfo.Deps {
if dep.Path == "github.com/defenseunicorns/zarf" {
zarfConfig.CLIVersion = strings.Split(dep.Version, "v")[1]
zarfConfig.CLIVersion = dep.Version
}
}
}
Expand Down

0 comments on commit f0f6c9c

Please sign in to comment.