Skip to content

Commit 04908b4

Browse files
committed
chore: Fix set-version script
1 parent de19718 commit 04908b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

set-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ VERSION_VAR="export const version = '$VERSION';"
55

66
echo -n "" > ./projects/stream-chat-angular/src/assets/version.ts
77
echo $VERSION_VAR > ./projects/stream-chat-angular/src/assets/version.ts
8-
sed -i "s/\d\.\d\.\d/\$VERSION/" ./projects/stream-chat-angular/package.json
8+
sed -i -E "s/\"version\": \".+\"/\"version\": \"${VERSION}\"/" ./projects/stream-chat-angular/package.json
99
npm run build:prod

0 commit comments

Comments
 (0)