Skip to content

Commit

Permalink
fix(build): support version suffix in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed Feb 8, 2019
1 parent f38cc83 commit 2bd0af8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build
Expand Up @@ -11,7 +11,8 @@ mkdir $dist

# Info
dir=`echo $dist/*`
version=`echo $dir | grep -oE "[0-9.]+"`$suffix
version=`echo $dir | grep -oE "v[a-z0-9.-]+$"`$suffix
version=${version:1}

# Normalize
mv $dir/* $dist
Expand Down

0 comments on commit 2bd0af8

Please sign in to comment.