Skip to content

Commit a26074a

Browse files
authored
Setting version numbers for the assemblies (#3039)
1 parent 3068427 commit a26074a

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

.github/workflows/build_artifacts.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ jobs:
4545

4646
- name: Build
4747
run: dotnet build ${{ env.solution }} --configuration ${{ inputs.build-configuration }} --no-restore -p:Platform="Any CPU" -p:TreatWarningsAsErrors=True
48+
env:
49+
MDIXVersion: ${{ inputs.mdix-version }}
50+
MDIXColorsVersion: ${{ inputs.mdix-colors-version }}
51+
MDIXMahAppsVersion: ${{ inputs.mdix-mahapps-version }}
4852

4953
- name: Test
5054
timeout-minutes: 20

MaterialDesignColors.Wpf/MaterialDesignColors.Wpf.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<TargetFrameworks>net462;netcoreapp3.1;net6.0-windows;net7.0-windows</TargetFrameworks>
66
<UseWPF>true</UseWPF>
77
<MDIXColorsVersion Condition="$(MDIXColorsVersion) == '' Or $(MDIXColorsVersion) == '*Undefined*'">1.0.1</MDIXColorsVersion>
8+
<MDIXColorsVersion>$([System.Text.RegularExpressions.Regex]::Replace("$(MDIXColorsVersion)", "-ci\d+$", ""))</MDIXColorsVersion>
89
<AssemblyTitle>MaterialDesignColors.Wpf</AssemblyTitle>
910
<Product>MaterialDesignColors.Wpf</Product>
1011
<Description>Material Design in XAML Toolkit - Colors</Description>

MaterialDesignThemes.MahApps/MaterialDesignThemes.MahApps.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFrameworks>net462;netcoreapp3.1;net6.0-windows;net7.0-windows</TargetFrameworks>
55
<UseWPF>true</UseWPF>
66
<MDIXMahAppsVersion Condition="$(MDIXMahAppsVersion) == '' Or $(MDIXMahAppsVersion) == '*Undefined*'">1.0.1</MDIXMahAppsVersion>
7+
<MDIXMahAppsVersion>$([System.Text.RegularExpressions.Regex]::Replace("$(MDIXMahAppsVersion)", "-ci\d+$", ""))</MDIXMahAppsVersion>
78
<AssemblyTitle>MaterialDesignThemes.MahApps</AssemblyTitle>
89
<Product>MaterialDesignThemes.MahApps</Product>
910
<Version>$(MDIXMahAppsVersion)</Version>

MaterialDesignThemes.Wpf/MaterialDesignThemes.Wpf.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFrameworks>net462;netcoreapp3.1;net6.0-windows;net7.0-windows</TargetFrameworks>
55
<UseWPF>true</UseWPF>
66
<MDIXVersion Condition="$(MDIXVersion) == '' Or $(MDIXVersion) == '*Undefined*'">1.0.1</MDIXVersion>
7+
<MDIXVersion>$([System.Text.RegularExpressions.Regex]::Replace("$(MDIXVersion)", "-ci\d+$", ""))</MDIXVersion>
78
<AssemblyTitle>MaterialDesignThemes.Wpf</AssemblyTitle>
89
<Product>MaterialDesignColors.Wpf</Product>
910
<Description>Material Design in XAML Toolkit - WPF Themes</Description>

0 commit comments

Comments
 (0)