diff --git a/.github/workflows/publish-pipeline.yml b/.github/workflows/publish-pipeline.yml
index 47ad30d..0d7f844 100644
--- a/.github/workflows/publish-pipeline.yml
+++ b/.github/workflows/publish-pipeline.yml
@@ -25,7 +25,7 @@ jobs:
run: |
VERSION=${{ github.ref_name }}
echo "VERSION=${VERSION:1}" >> $GITHUB_ENV
- sed -i "s/[0-9].[0-9].[0-9]/${{ env.VERSION }}/g" MewtocolNet/MewtocolNet.csproj
+ sed -i 's/[0-9].[0-9].[0-9]<\/Version>/${{ env.VERSION }}<\/Version>/g' MewtocolNet/MewtocolNet.csproj
- name: Setup .NET
uses: actions/setup-dotnet@v2