Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix(action): remove ext (#17422)

p0nyb077c87ab039
diff --git a/action/command/file.go b/action/command/file.go
index e742c2008c..7ebd75dbfa 100644
--- a/action/command/file.go
+++ b/action/command/file.go
@@ -90,7 +90,7 @@ func getReleaseFiles(w *world.World) ([]*v1pb.Release_File, string, error) {
return nil, "", err
}
- base := filepath.Base(m)
+ base := strings.TrimSuffix(filepath.Base(m), filepath.Ext(m))
var t v1pb.Release_File_ChangeType
switch {
case strings.HasSuffix(base, "dml"):