diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..74f6fd0
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,30 @@
+# Changelog
+
+## v2.0.0
+Initial version for public release, comprising the following list of unit tested converters:
+- BooleanToBooleanConverter
+- BooleanToBooleanConverterForMultibinding
+- BooleanToFontWeightConverter
+- BooleanToFontWeightConverterForMultibinding
+- BooleanToObjectConverter
+- BooleanToNumberConverter
+- BooleanToOpacityConverter
+- BooleanToThicknessConverter
+- BooleanToVisibilityConverter
+- BooleanToVisibilityConverterForMultibinding
+- CollectionCountConverter
+- CollectionFirstItemConverter
+- CollectionFirstItemConverterForMultibinding
+- CollectionIndexOfConverterForMultibinding
+- ColorToSolidColorBrushConverter
+- ImageToBitmapImageConverter
+- MathConverter
+- MathConverterForMultibinding
+- InstanceToTypeConverter
+- ObjectToObjectConverterWithActivators
+- NotNullToVisibilityConverter
+- NotNullOrEmptyStringToBooleanConverter
+- NotNullOrEmptyStringToVisibilityConverter
+- NotNullOrEmptyStringToVisibilityConverterForMultibinding
+
+Documentation for this can be found on the archived [README](https://github.com/davidlebourdais/ExtendedWPFConverters/blob/v2.0.0/README.md).
diff --git a/ExtendedWPFConverters/ExtendedWPFConverters.csproj b/ExtendedWPFConverters/ExtendedWPFConverters.csproj
index 1917f75..f9e19a8 100644
--- a/ExtendedWPFConverters/ExtendedWPFConverters.csproj
+++ b/ExtendedWPFConverters/ExtendedWPFConverters.csproj
@@ -4,10 +4,11 @@
ExtendedWPFConverters
Extended WPF converters
Proposes a list of commonly used converters for WPF.
- EMA;WPF;Converters
+ WPF;Converters
true
- 1.0.7
+ 2.0.0
David Le Bourdais
+ Copyright © 2019-2020
true
diff --git a/README.md b/README.md
index 5ef706d..5124ab2 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,9 @@
# WPF Extended converters
+
+[![Build Status](https://dev.azure.com/davidlebourdais/ExtendedWPFConverters/_apis/build/status/davidlebourdais.ExtendedWPFConverters?branchName=master)](https://dev.azure.com/davidlebourdais/ExtendedWPFConverters/_build/latest?definitionId=2&branchName=master)
+[![NuGet](https://img.shields.io/nuget/v/ExtendedWPFConverters.svg)](https://www.nuget.org/packages/ExtendedWPFConverters)
+[![Issues](https://img.shields.io/github/issues/davidlebourdais/ExtendedWPFConverters.svg)](https://github.com/davidlebourdais/ExtendedWPFConverters/issues)
+
Provides a set of commonly used and tested converters to build WPF applications.
## Notions
@@ -228,4 +233,7 @@ Parses a string to produce an alignment (horizontal or vertical) value. Returns
> These converters support bidirectional string translations when a proper translation fetcher is provided as converter parameter and a culture information is set for the application. See the list of accepted types for this fetcher in the documentation of the [CheckFetcherFormat method](ExtendedWPFConverters/StringConverters/Utils/StringTranslationHelper.cs).
## That's it!
-Hope you will enjoy these converters!
\ No newline at end of file
+Hope you will enjoy these converters!
+
+## License
+This work is licensed under the [MIT License](LICENSE.md).
diff --git a/getchangelogdiff.ps1 b/getchangelogdiff.ps1
index 8153b3c..c72fbff 100644
--- a/getchangelogdiff.ps1
+++ b/getchangelogdiff.ps1
@@ -39,6 +39,7 @@ function Get-Text-File-Part([String] $path, [String] $start_pattern, [String] $s
$ChangeLogMessage = ""
$VersionTagRegex = "v\d+\.\d+\.\d+(\s|-|$)"
$ChangeLogHeaderRegex = "#+ v\d+\.\d+\.\d+(\s|-|$)"
+$invalid_current_tag = $false
if ([System.String]::IsNullOrWhiteSpace($TagVersion)) {
Write-Host "##vso[task.LogIssue type=error;]Tag version is not provided"
@@ -49,6 +50,7 @@ else {
if (-not($TagVersion -match $VersionTagRegex)) {
Write-Host "Warning: Passed tag version has an invalid format, processing it anyway to get 'non release' changelog"
$CurrentReleaseLogRegex = "#+ " + $TagVersion.Replace(".", "\.") + ".*$"
+ $invalid_current_tag = $true
}
$ChangeLogMessage = Get-Text-File-Part $ChangeLogFilePath $CurrentReleaseLogRegex $ChangeLogHeaderRegex
@@ -60,10 +62,13 @@ else {
Out-File -FilePath $ChangeLogDiffWritePath -InputObject $ChangeLogMessage -Encoding ASCII
}
}
- else {
+ elseif (-not($invalid_current_tag)) {
Write-Host "##vso[task.LogIssue type=warning;]No changelog message found for passed tag version"
Write-Host "##vso[task.complete result=SucceededWithIssues;]No specific changelog"
}
+ else { #no warning if no or bad tag was passed to not make build fail
+ Write-Host "Warning: Bad passed tag version and no draft changelog message found"
+ }
}
else {
Write-Host $("##vso[task.LogIssue type=warning;]" + $("Cannot find " + $ChangeLogFilePath + "."))