diff --git a/internal/bundles/manifest.go b/internal/bundles/manifest.go index 0a911bcbf..ea1f4515f 100644 --- a/internal/bundles/manifest.go +++ b/internal/bundles/manifest.go @@ -9,7 +9,6 @@ import ( "fmt" "io" "sort" - "strings" "github.com/posit-dev/publisher/internal/clients/connect" "github.com/posit-dev/publisher/internal/config" @@ -206,7 +205,7 @@ func (manifest *Manifest) AddFile(path string, fileMD5 []byte) { // Update manifest content category if a file being added is a site configuration for _, ymlFile := range util.KnownSiteYmlConfigFiles { - if strings.HasSuffix(path, ymlFile) { + if path == ymlFile { manifest.Metadata.ContentCategory = "site" break }