Skip to content

Commit 36d8b2a

Browse files
xernobylgithub-actions
andauthored
[PBE-0] Fix release script (#141)
* chore(release): 6.9.1 * Empty-Commit * Empty-Commit * chore: fix release script --------- Co-authored-by: github-actions <[email protected]>
1 parent 7d356ee commit 36d8b2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/create_release_branch.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ echo "Preparing release $VERSION"
55

66
# Update .csproj file
77
# 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
8+
sed -i '' 's|<Version>\(.*\)</Version>|<Version>'"${VERSION}"'</Version>|g' src/stream-net.csproj
9+
910

1011
# Create changelog
1112
# --skip.commit: We manually commit the changes

0 commit comments

Comments
 (0)