new_version must process init tests too
@@ -81,6 +81,12 @@ func main() {
return nil
})
+ // Update skaffold.yaml in init tests
+ walk.From("pkg/skaffold/initializer/testdata").WhenHasName("skaffold.yaml").MustDo(func(path string, _ walk.Dirent) error {
+ sed(path, current, next)
+ return nil
+ })
+
// Add the new version to the list of versions
lines := lines(path("versions.go"))
var content string
