Skip to content

Commit 8e27b09

Browse files
author
Patrick M
committed
fix: version
1 parent c7873ef commit 8e27b09

File tree

4 files changed

+51
-14
lines changed

4 files changed

+51
-14
lines changed

.github/workflows/build-deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
uses: actions/checkout@v3
1818

1919
- name: Extract tag name
20-
id: vars
2120
run: echo "TAG=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
2221

2322
- name: Set Release Tag Variables

HeaderAudit.sln

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.0.31903.59
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
6+
EndProject
7+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeaderAudit", "src\HeaderAudit.csproj", "{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}"
8+
EndProject
9+
Global
10+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
11+
Debug|Any CPU = Debug|Any CPU
12+
Debug|x64 = Debug|x64
13+
Debug|x86 = Debug|x86
14+
Release|Any CPU = Release|Any CPU
15+
Release|x64 = Release|x64
16+
Release|x86 = Release|x86
17+
EndGlobalSection
18+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
19+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Debug|Any CPU.Build.0 = Debug|Any CPU
21+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Debug|x64.ActiveCfg = Debug|Any CPU
22+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Debug|x64.Build.0 = Debug|Any CPU
23+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Debug|x86.ActiveCfg = Debug|Any CPU
24+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Debug|x86.Build.0 = Debug|Any CPU
25+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Release|Any CPU.ActiveCfg = Release|Any CPU
26+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Release|Any CPU.Build.0 = Release|Any CPU
27+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Release|x64.ActiveCfg = Release|Any CPU
28+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Release|x64.Build.0 = Release|Any CPU
29+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Release|x86.ActiveCfg = Release|Any CPU
30+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45}.Release|x86.Build.0 = Release|Any CPU
31+
EndGlobalSection
32+
GlobalSection(SolutionProperties) = preSolution
33+
HideSolutionNode = FALSE
34+
EndGlobalSection
35+
GlobalSection(NestedProjects) = preSolution
36+
{D4BC10A0-B0A7-4E72-A010-034DD9E5EF45} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
37+
EndGlobalSection
38+
EndGlobal

src/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG GIT_TAG=0.0.0
55
WORKDIR /app
66
COPY . ./
77
RUN dotnet restore
8-
RUN dotnet publish -o out -p:AssemblyVersion=${GIT_TAG}
8+
RUN dotnet publish -o out -p:FileVersion=${GIT_TAG}
99

1010
# Build runtime image
1111
FROM mcr.microsoft.com/dotnet/aspnet:9.0
@@ -15,4 +15,4 @@ WORKDIR /app
1515
COPY --from=build /app/out .
1616
EXPOSE 8080
1717

18-
ENTRYPOINT ["dotnet", "BinaryPatrick.HeaderAudit.dll"]
18+
ENTRYPOINT ["dotnet", "HeaderAudit.dll"]
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
2-
3-
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
5-
<Nullable>enable</Nullable>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<DebugType>embedded</DebugType>
8-
<FileVersion>0.0.0</FileVersion>
9-
</PropertyGroup>
10-
11-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net9.0</TargetFramework>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<DebugType>embedded</DebugType>
8+
<FileVersion>0.0.0</FileVersion>
9+
</PropertyGroup>
10+
11+
</Project>

0 commit comments

Comments
 (0)