We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcb40c5 commit 27813ccCopy full SHA for 27813cc
build_setup/Dockerfile
@@ -1,6 +1,6 @@
1
# Use official .NET SDK image as base
2
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
3
-ARG VERSION=1.0.0
+ARG VERSION=1.0.2
4
ENV VERSION=${VERSION}
5
6
# Install necessary tools (optional curl for debugging)
@@ -20,7 +20,8 @@ RUN dotnet restore
20
21
# Build the project
22
# Update version in csproj file
23
-RUN sed -i "s/<Version>.*<\/Version>/<Version>${VERSION:1}<\/Version>/" Firetail.Net.csproj
+RUN TRIMMED_VERSION=$(echo $VERSION | cut -c1-) && \
24
+ sed -i "s/<Version>.*<\/Version>/<Version>$TRIMMED_VERSION<\/Version>/" Firetail.Net.csproj
25
26
RUN dotnet build -c Release -o /output
27
0 commit comments