Skip to content

Commit

Permalink
review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mangalpalli committed Nov 18, 2022
1 parent a550cd4 commit ffda96a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/scripts/previousversion/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ func main() {
baseVersion := flag.String("version", "", "the base version to be taken in as input for release")
flag.Parse()
v, _ := semver.Parse(*baseVersion)
releaseVersion := fmt.Sprintf("%d.%d.%d", v.Major, v.Minor-1, v.Patch)
releaseVersion := fmt.Sprintf("%d-%d-%d", v.Major, v.Minor-1, v.Patch)
fmt.Println(releaseVersion)
}

0 comments on commit ffda96a

Please sign in to comment.