Skip to content

Commit c8a5575

Browse files
authored
(GH-170) Add warning for not using yaml config (#185)
(GH-170) Add warning for not using yaml config
2 parents 06838b2 + 19d11b4 commit c8a5575

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Source/GitReleaseManager/Configuration/ConfigurationProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static Config Provide(string gitDirectory, IFileSystem fileSystem)
4242
}
4343
}
4444

45-
_logger.Verbose("No configuration file was found. Loading default configuration.");
45+
_logger.Warning("Yaml not found, that's ok! Learn more at {Url}", "https://gittools.github.io/GitReleaseManager/docs/yaml");
4646

4747
return new Config();
4848
}
@@ -123,4 +123,4 @@ private static void EnsureDefaultConfig(Config configuration)
123123
}
124124
}
125125
}
126-
}
126+
}

docs/input/docs/configuration/default-configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
Order: 10
33
Title: Default Configuration
4+
RedirectFrom: docs/yaml/index.html
45
---
56

67
GitReleaseManager configuration can be controlled using a GitReleaseManager.yaml

0 commit comments

Comments
 (0)