Skip to content

Commit

Permalink
fix(src/knifehub.web): dotnet publish --framework net6.0, 1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyungent committed Jan 30, 2024
1 parent 7453c67 commit 317828e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/KnifeHub.Web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ WORKDIR "/src/src/KnifeHub.Web"
RUN dotnet build "KnifeHub.Web.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "KnifeHub.Web.csproj" -c Release -o /app/publish
RUN dotnet publish --framework net6.0 "KnifeHub.Web.csproj" -c Release -o /app/publish

FROM base AS final
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion src/KnifeHub.Web/Dockerfile.amd-chrome
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ WORKDIR "/src/src/KnifeHub.Web"
RUN dotnet build "KnifeHub.Web.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "KnifeHub.Web.csproj" -c Release -o /app/publish
RUN dotnet publish --framework net6.0 "KnifeHub.Web.csproj" -c Release -o /app/publish

FROM base AS final
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion src/KnifeHub.Web/Dockerfile.amd-full
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ WORKDIR "/src/src/KnifeHub.Web"
RUN dotnet build "KnifeHub.Web.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "KnifeHub.Web.csproj" -c Release -o /app/publish
RUN dotnet publish --framework net6.0 "KnifeHub.Web.csproj" -c Release -o /app/publish

FROM base AS final
WORKDIR /app
Expand Down
6 changes: 3 additions & 3 deletions src/KnifeHub.Web/KnifeHub.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</PropertyGroup>

<PropertyGroup>
<Version>1.5.4</Version>
<FileVersion>1.5.4.0</FileVersion>
<AssemblyVersion>1.5.4.0</AssemblyVersion>
<Version>1.5.5</Version>
<FileVersion>1.5.5.0</FileVersion>
<AssemblyVersion>1.5.5.0</AssemblyVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/KnifeHub.Web/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8" />
<title>KnifeHub-v1.5.4</title>
<title>KnifeHub-v1.5.5</title>
<!-- Matomo Tag Manager -->
<script>
var _mtm = window._mtm = window._mtm || [];
Expand Down

0 comments on commit 317828e

Please sign in to comment.