Skip to content

Commit 74c7d92

Browse files
authored
[.Net6Inproc]buildcmd with MinorVersionPrefix=6 (#1168)
1 parent e8a322f commit 74c7d92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

host/4/bullseye/dotnet-inproc/dotnet-appservice.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN BUILD_NUMBER=$(echo ${HOST_VERSION} | cut -d'.' -f 3) && \
1515
git clone --branch v${HOST_VERSION} https://github.com/Azure/azure-functions-host /src/azure-functions-host && \
1616
cd /src/azure-functions-host && \
1717
HOST_COMMIT=$(git rev-list -1 HEAD) && \
18-
dotnet publish -v q /p:BuildNumber=$BUILD_NUMBER /p:CommitHash=$HOST_COMMIT src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj -c Release --output /azure-functions-host --runtime linux-x64 --framework net6.0 --self-contained && \
18+
dotnet publish -v q /p:BuildNumber=$BUILD_NUMBER /p:CommitHash=$HOST_COMMIT src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj -c Release --output /azure-functions-host --runtime linux-x64 --framework net6.0 --self-contained /p:MinorVersionPrefix=6 && \
1919

2020
mv /azure-functions-host/workers /workers && mkdir /azure-functions-host/workers && \
2121
rm -rf /root/.local /root/.nuget /src

host/4/bullseye/dotnet-inproc/dotnet.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN BUILD_NUMBER=$(echo ${HOST_VERSION} | cut -d'.' -f 3) && \
1515
git clone --branch v${HOST_VERSION} https://github.com/Azure/azure-functions-host /src/azure-functions-host && \
1616
cd /src/azure-functions-host && \
1717
HOST_COMMIT=$(git rev-list -1 HEAD) && \
18-
dotnet publish -v q /p:BuildNumber=$BUILD_NUMBER /p:CommitHash=$HOST_COMMIT src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj -c Release --output /azure-functions-host --runtime linux-x64 --framework net6.0 --self-contained && \
18+
dotnet publish -v q /p:BuildNumber=$BUILD_NUMBER /p:CommitHash=$HOST_COMMIT src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj -c Release --output /azure-functions-host --runtime linux-x64 --framework net6.0 --self-contained /p:MinorVersionPrefix=6 && \
1919

2020
mv /azure-functions-host/workers /workers && mkdir /azure-functions-host/workers && \
2121
rm -rf /root/.local /root/.nuget /src

0 commit comments

Comments
 (0)