diff --git a/internal/releaseprep/releaseprep.go b/internal/releaseprep/releaseprep.go index 5dc8a4f..a598eab 100644 --- a/internal/releaseprep/releaseprep.go +++ b/internal/releaseprep/releaseprep.go @@ -161,7 +161,7 @@ func updateVersionFile(rootDir, version string, options resolvedOptions) error { replacement := strings.Replace(match[0], match[1], version, 1) updated := strings.Replace(string(contents), match[0], replacement, 1) if updated == string(contents) { - return fmt.Errorf("version value not found in %s", path) + return nil } if err := os.WriteFile(path, []byte(updated), 0o644); err != nil {