sbt-ghpages icon indicating copy to clipboard operation
sbt-ghpages copied to clipboard

IncludeFilter and ExcludeFilter not working?

Open jvican opened this issue 8 years ago • 2 comments

I want to prevent some files from being removed. Despite several attempts to get it working, I may have found out that includeFilters and excludeFilter are not working as expected. I'm adding these settings to my project:

  .settings(
    ghpages.settings,
    git.remoteRepo := "[email protected]:scalacenter/repo",
    includeFilter in GhPagesKeys.cleanSite := NothingFilter,
    excludeFilter in GhPagesKeys.cleanSite := AllPassFilter
  )

Even though I'm including Nothing and excluding everything, the task ghpagesCleanSite removes everything in the repo when it's executed. This is weird. Am I missing something here? I've seen the source code and everything looks fine.

jvican avatar Oct 31 '16 10:10 jvican

I've the same issue because docs describe includeFilters and excludeFilter for sbt-ghpages >= 0.5.5-SNAPSHOT, not the current version 0.5.4.

timothyklim avatar Nov 06 '16 18:11 timothyklim

@eed3si9n can you release 0.5.5, please? It's unusable without excludeFilter for CNAME file.

timothyklim avatar Nov 06 '16 18:11 timothyklim