Skip to content

Commit b28c88d

Browse files
committed
fix mistake
1 parent 27813cc commit b28c88d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_setup/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Use official .NET SDK image as base
22
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
3-
ARG VERSION=1.0.2
3+
ARG VERSION=v1.0.2
44
ENV VERSION=${VERSION}
55

66
# Install necessary tools (optional curl for debugging)
@@ -20,7 +20,7 @@ RUN dotnet restore
2020

2121
# Build the project
2222
# Update version in csproj file
23-
RUN TRIMMED_VERSION=$(echo $VERSION | cut -c1-) && \
23+
RUN TRIMMED_VERSION=$(echo $VERSION | cut -c2-) && \
2424
sed -i "s/<Version>.*<\/Version>/<Version>$TRIMMED_VERSION<\/Version>/" Firetail.Net.csproj
2525

2626
RUN dotnet build -c Release -o /output

0 commit comments

Comments
 (0)