Skip to content

Commit

Permalink
[Build] Set v2.0.0 as first official release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlebourdais committed Oct 19, 2020
1 parent 859fc04 commit 631cdb2
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 4 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).
5 changes: 3 additions & 2 deletions ExtendedWPFConverters/ExtendedWPFConverters.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<PackageId>ExtendedWPFConverters</PackageId>
<Title>Extended WPF converters</Title>
<PackageDescription>Proposes a list of commonly used converters for WPF.</PackageDescription>
<PackageTags>EMA;WPF;Converters</PackageTags>
<PackageTags>WPF;Converters</PackageTags>
<UseWPF>true</UseWPF>
<Version>1.0.7</Version>
<Version>2.0.0</Version>
<Authors>David Le Bourdais</Authors>
<Copyright>Copyright © 2019-2020</Copyright>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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!
Hope you will enjoy these converters!

## License
This work is licensed under the [MIT License](LICENSE.md).
7 changes: 6 additions & 1 deletion getchangelogdiff.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

Expand All @@ -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 + "."))
Expand Down

0 comments on commit 631cdb2

Please sign in to comment.