Skip to content

Commit

Permalink
Fixed double "replaces: " in CSV
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Sluiter <msluiter@redhat.com>
  • Loading branch information
slintes authored and kubevirt-bot committed Aug 9, 2019
1 parent 7ca2ed8 commit 40be3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/manifest-templator/manifest-templator.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func main() {
if strings.HasSuffix(latestVersion, *csvVersion) {
panic(fmt.Errorf("CSV version %s is already published!", *csvVersion))
}
data.ReplacesCsvVersion = fmt.Sprintf(" replaces: %v", latestVersion)
data.ReplacesCsvVersion = latestVersion
// also copy old manifests to out dir
bundleHelper.AddOldManifests(*bundleOutDir, *csvVersion)
}
Expand Down

0 comments on commit 40be3c8

Please sign in to comment.