Skip to content

Commit

Permalink
fix for prerelease versions not validating in versionbump.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgoetz committed Nov 3, 2024
1 parent 4ffa367 commit 07e6aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func LoadConfig(filePath string) (*Config, string, error) {
return nil, "", fmt.Errorf("version string is required")
}

if !semver.ValidateVersion(config.Version) {
if !semver.ValidateSemVersion(config.Version) {
return nil, "", fmt.Errorf("invalid version string: %s", config.Version)
}

Expand Down

0 comments on commit 07e6aae

Please sign in to comment.