Fixed sed escape

This commit is contained in:
Felix Weiß
2023-06-16 11:49:17 +02:00
parent 364e0637bb
commit b13b2d0199

View File

@@ -25,7 +25,7 @@ jobs:
run: |
VERSION=${{ github.ref_name }}
echo "VERSION=${VERSION:1}" >> $GITHUB_ENV
sed -i "s/<Version>[0-9].[0-9].[0-9]</Version>/<Version>${{ env.VERSION }}</Version>/g" MewtocolNet/MewtocolNet.csproj
sed -i 's/<Version>[0-9].[0-9].[0-9]<\/Version>/<Version>${{ env.VERSION }}<\/Version>/g' MewtocolNet/MewtocolNet.csproj
- name: Setup .NET
uses: actions/setup-dotnet@v2