File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ type release struct {
106106 ProjectName string `toml:"project_name"`
107107 GithubRepo string `toml:"github_repo"`
108108 SubPath string `toml:"sub_path"`
109+ ExcludePaths []string `toml:"exclude_paths"`
109110 Commit string `toml:"commit"`
110111 Previous string `toml:"previous"`
111112 PreRelease bool `toml:"pre_release"`
@@ -251,6 +252,11 @@ This tool should run from the root of the project repository for a new release.
251252 if r .SubPath != "" {
252253 gitSubpaths = append (gitSubpaths , r .SubPath )
253254 }
255+ if len (r .ExcludePaths ) > 0 {
256+ for _ , p := range r .ExcludePaths {
257+ gitSubpaths = append (gitSubpaths , fmt .Sprintf (":^%s" , p ))
258+ }
259+ }
254260
255261 mailmapPath , err := filepath .Abs (".mailmap" )
256262 if err != nil {
You can’t perform that action at this time.
0 commit comments