Skip to content
This repository was archived by the owner on Dec 10, 2020. It is now read-only.

Commit 6272bb1

Browse files
authored
Version 2.2.1 (#50)
* Bump version to 2.2.1 * Build with SDK 5.0.101 * Run tests on `net5.0` and `net48` only (remove `netcoreapp3.1`) * Update test dependencies * Enable `EmbedUntrackedSources` for complete SourceLink support * Set `ContinuosIntegrationBuild=true` for deterministic builds
1 parent acc2d5e commit 6272bb1

File tree

8 files changed

+33
-21
lines changed

8 files changed

+33
-21
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
- name: checkout
1313
uses: actions/checkout@v2
1414

15+
- name: Use .NET 5.0
16+
uses: actions/setup-dotnet@v1
17+
with:
18+
dotnet-version: '5.0.101'
19+
1520
- name: build.ps1
1621
run: pwsh ./build.ps1
1722

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ is that you can use the same command, for both installation and usage, across al
1414
Install `dotnet-xdt` as a global tool (only once):
1515

1616
```cmd
17-
dotnet tool install --global dotnet-xdt --version 2.2.0
17+
dotnet tool install --global dotnet-xdt --version 2.2.1
1818
```
1919

2020
And then you can apply XDT transforms, from the command-line, anywhere on your PC, e.g.:
@@ -58,7 +58,7 @@ Download the latest build of `dotnet-xdt.exe` from the [releases page](https://g
5858
For complete flexibility, reference the cross-platform `DotNet.Xdt` NuGet package in your application:
5959

6060
```cmd
61-
dotnet add package DotNet.Xdt --version 2.2.0
61+
dotnet add package DotNet.Xdt --version 2.2.1
6262
```
6363

6464
You can apply XDT transforms to any XML file, or other XML sources that can be read from

appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ environment:
1212
DOTNET_NOLOGO: 1
1313
DOTNET_CLI_TELEMETRY_OPTOUT: 1
1414
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
15-
DOTNET_SDK_URL: 'https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.401/dotnet-sdk-3.1.401-win-x64.zip'
15+
DOTNET_SDK_URL: 'https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.101/dotnet-sdk-5.0.101-win-x64.zip'
1616

1717
cache:
1818
- '%LocalAppData%\NuGet\v3-cache' # NuGet v3
@@ -45,5 +45,7 @@ artifacts:
4545
name: test-results/net48.xml
4646
- path: dotnet-xdt.tests/bin/$(configuration)/netcoreapp3.1/test-results.xml
4747
name: test-results/netcoreapp31.xml
48+
- path: dotnet-xdt.tests/bin/$(configuration)/net5.0/test-results.xml
49+
name: test-results/net50.xml
4850

4951
deploy: off

build.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ function step($command) {
99
$Env:DOTNET_NOLOGO = 'true'
1010
$Env:DOTNET_CLI_TELEMETRY_OPTOUT = 'true'
1111

12-
step { dotnet msbuild dotnet-xdt /t:Restore /p:Configuration=Release /p:As=lib }
13-
step { dotnet msbuild dotnet-xdt /t:Pack /p:Configuration=Release /p:As=lib }
12+
step { dotnet msbuild dotnet-xdt /t:Restore /p:Configuration=Release /p:As=lib /p:ContinuousIntegrationBuild=true }
13+
step { dotnet msbuild dotnet-xdt /t:Pack /p:Configuration=Release /p:As=lib /p:ContinuousIntegrationBuild=true }
1414

15-
step { dotnet msbuild dotnet-xdt /t:Restore /p:Configuration=Release /p:As=tool }
16-
step { dotnet msbuild dotnet-xdt /t:Pack /p:Configuration=Release /p:As=tool }
15+
step { dotnet msbuild dotnet-xdt /t:Restore /p:Configuration=Release /p:As=tool /p:ContinuousIntegrationBuild=true }
16+
step { dotnet msbuild dotnet-xdt /t:Pack /p:Configuration=Release /p:As=tool /p:ContinuousIntegrationBuild=true }
1717

18-
step { dotnet msbuild dotnet-xdt /t:Restore /p:Configuration=Release /p:As=exe }
19-
step { dotnet msbuild dotnet-xdt /t:Build /p:Configuration=Release /p:As=exe }
18+
step { dotnet msbuild dotnet-xdt /t:Restore /p:Configuration=Release /p:As=exe /p:ContinuousIntegrationBuild=true }
19+
step { dotnet msbuild dotnet-xdt /t:Build /p:Configuration=Release /p:As=exe /p:ContinuousIntegrationBuild=true }

dotnet-xdt.tests/dotnet-xdt.tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp3.1;net48</TargetFrameworks>
3+
<TargetFrameworks>net5.0;net48</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
<IsPublishable>false</IsPublishable>
66
<LangVersion>preview</LangVersion>
@@ -21,9 +21,9 @@
2121
</Content>
2222
</ItemGroup>
2323
<ItemGroup>
24-
<PackageReference Include="Fixie" Version="2.2.1" />
25-
<PackageReference Include="Shouldly" Version="3.0.2" />
26-
<DotNetCliToolReference Include="Fixie.Console" Version="2.2.1" />
24+
<PackageReference Include="Fixie" Version="2.2.2" />
25+
<PackageReference Include="Shouldly" Version="4.0.1" />
26+
<DotNetCliToolReference Include="Fixie.Console" Version="2.2.2" />
2727
</ItemGroup>
2828
<ItemGroup>
2929
<ProjectReference Include="..\dotnet-xdt\dotnet-xdt.csproj" />

dotnet-xdt/dotnet-xdt.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Deterministic>true</Deterministic>
4+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
45

56
<_ExeTFM>net461</_ExeTFM>
67
<_LibTFM>netstandard2.0</_LibTFM>
@@ -26,10 +27,13 @@
2627
<RootNamespace>DotNet.Xdt</RootNamespace>
2728
<AssemblyName>dotnet-xdt</AssemblyName>
2829

29-
<FileVersion>2.2.0</FileVersion>
30+
<FileVersion>2.2.1</FileVersion>
3031
<Version>$(FileVersion)</Version>
3132

32-
<_ReleaseNotes>Enable [RollForward=Major](https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0#major-version-roll-forward) to allow running `dotnet-xdt` on .NET Core 3.x and later versions.</_ReleaseNotes>
33+
<_ReleaseNotes>
34+
Enable [RollForward=Major](https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0#major-version-roll-forward) to allow running `dotnet-xdt` on .NET Core 3.x and later versions.
35+
Minor deterministic build and SourceLink support improvements.
36+
</_ReleaseNotes>
3337
</PropertyGroup>
3438

3539
<PropertyGroup Label="Library" Condition=" '$(TargetFrameworks)' == '$(_LibTFM)' ">

global.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
{
2-
"sdk": {
3-
"version": "3.1.400"
4-
}
5-
}
1+
{
2+
"sdk": {
3+
"version": "5.0.101",
4+
"rollForward": "latestMajor"
5+
}
6+
}

test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ function step($command) {
99
$Env:DOTNET_NOLOGO = 'true'
1010
$Env:DOTNET_CLI_TELEMETRY_OPTOUT = 'true'
1111

12-
step { dotnet msbuild /t:Restore /p:Configuration=Release }
12+
step { dotnet msbuild /t:Restore /p:Configuration=Release /p:ContinuosIntegrationBuild=true }
1313
pushd dotnet-xdt.tests
1414
step { dotnet fixie --configuration Release --report test-results.xml }

0 commit comments

Comments
 (0)