Skip to content

Commit

Permalink
fix: tag comparison pre-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverroick committed Jan 14, 2020
1 parent e998ce1 commit 663c9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
- echo $PACKAGE_VERSION
- |
if [[ "$PACKAGE_VERSION" != "$TRAVIS_TAG" ]]; then
if [[ "v$PACKAGE_VERSION" != "$TRAVIS_TAG" ]]; then
echo "Git and NPM versions do not match. Have you updated package.json?"
exit 1
fi;
Expand Down

0 comments on commit 663c9b7

Please sign in to comment.