Skip to content

Commit e6d1374

Browse files
committed
chore: only run standard-version when tag not exsit
1 parent 684e52e commit e6d1374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ before_deploy:
2222
- git remote set-url origin https://user:[email protected]/$TRAVIS_REPO_SLUG.git
2323
- git fetch origin $TRAVIS_BRANCH:$TRAVIS_BRANCH
2424
- git checkout $TRAVIS_BRANCH
25-
- yarn run standard-version -a --no-verify || echo "nothing changed"
25+
- git fetch origin v$(jq -r '.version' package.json) || yarn run standard-version -a --no-verify
2626

2727
deploy:
2828
provider: script

0 commit comments

Comments
 (0)