Skip to content

Commit

Permalink
refactor: Simplifying semVer calculation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-lobocki committed Sep 12, 2023
1 parent 28bc091 commit abed85e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/root__command.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"log"
"os"
"strings"

"github.com/fatih/color"
"github.com/spf13/cobra"
Expand All @@ -23,7 +22,7 @@ var (
builtDate, builtBy string
)

var semReleaseVersion string = strings.Join([]string{semVer, strings.Join([]string{goArch, commitHash}, ".")}, "+")
var semReleaseVersion string = semVer + "+" + goArch + "." + commitHash

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Expand Down

0 comments on commit abed85e

Please sign in to comment.