Skip to content

Commit d3d36aa

Browse files
committed
fixd travis tgz regex
1 parent 5904759 commit d3d36aa

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,9 @@ script:
3838
- emulator -avd Arm21 -no-skin -no-audio -no-window &
3939
- android-wait-for-emulator
4040
- "cd test-app && ./gradlew runtest --stacktrace"
41-
before_deploy:
42-
- pwd
43-
- ls -la
4441
- cd ..
45-
- pwd
46-
- ls -la
47-
- FULL_PACKAGE_VERSION=`sed -n 's/\s*"version":\s*"\([a-zA-Z0-9.\-]\+\)"/\1/p' dist/package.json`
42+
before_deploy:
43+
- FULL_PACKAGE_VERSION=`sed -n 's/\s*"version":\s*"\([a-zA-Z0-9\.]*\)"\s*,/\1/p' dist/package.json`
4844
- mv dist/$PACKAGE_NAME-$FULL_PACKAGE_VERSION.tgz ../.deploymentpackage
4945
- mv .travis ../
5046
- cd ..

0 commit comments

Comments
 (0)