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 7d356ee commit 36d8b2aCopy full SHA for 36d8b2a
scripts/create_release_branch.sh
@@ -5,7 +5,8 @@ echo "Preparing release $VERSION"
5
6
# Update .csproj file
7
# This regex to update Version tag in .csproj file
8
-sed -i -r "s/>[0-9]+\.[0-9]+\.[0-9]+(?:\-\w+)?</>$VERSION</g" src/stream-net.csproj
+sed -i '' 's|<Version>\(.*\)</Version>|<Version>'"${VERSION}"'</Version>|g' src/stream-net.csproj
9
+
10
11
# Create changelog
12
# --skip.commit: We manually commit the changes
0 commit comments