Skip to content

Commit

Permalink
Change project version to .NET 5.0 (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktos authored Nov 10, 2020
1 parent ecf4331 commit 2f5665a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/core/runtime:3.1-alpine AS base
FROM mcr.microsoft.com/dotnet/runtime:5.0-alpine AS base
WORKDIR /app
COPY . .
ENTRYPOINT ["dotnet", "Eleia.dll"]
5 changes: 5 additions & 0 deletions azure-pipelines-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ variables:
buildConfiguration: 'Release'

steps:
- task: UseDotNet@2
inputs:
version: '5.x'
includePreviewVersions: true

- task: DotNetCoreCLI@2
displayName: Restore
inputs:
Expand Down
5 changes: 5 additions & 0 deletions azure-pipelines-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ variables:
buildConfiguration: 'Release'

steps:
- task: UseDotNet@2
inputs:
version: '5.x'
includePreviewVersions: true

- task: GitVersion@5
inputs:
runtime: 'core'
Expand Down
2 changes: 1 addition & 1 deletion src/Eleia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/Eleia.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit 2f5665a

Please sign in to comment.