diff --git a/bin/pack.sh b/bin/pack.sh index e134338..023f850 100755 --- a/bin/pack.sh +++ b/bin/pack.sh @@ -3,4 +3,4 @@ rm -rf tmp/package PACKAGE="$(npm pack 2>&1 | tail -1)" mkdir -p tmp tar -xvzf $PACKAGE -C tmp -mv $PACKAGE ${PACKAGE/-0.0.1/} \ No newline at end of file +mv $PACKAGE ${PACKAGE/-[0-9\.]+\.tgz/.tgz} \ No newline at end of file