Skip to content

Commit 9f935ea

Browse files
committed
chore(build): fix the pre-release versioning
1 parent 724e972 commit 9f935ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ yarn
55
if test $TAG_NAME; then
66
export VERSION=$TAG_NAME
77
else
8-
export VERSION=$(npm version | head -n 1 | sed "s/^.*: '\([^']*\).*/\1/")-canary.$SHORT_SHA
8+
export VERSION=$(npm version | sed -n "s/. '@angular\/fire': '\(.*\)',/\1/p")-canary.$SHORT_SHA
99
fi
1010

1111
echo $VERSION &&

0 commit comments

Comments
 (0)