Fix Travis deployment check on cron
This commit is contained in:
Родитель
a37a31b17d
Коммит
9bdf5cfe9d
|
@ -16,4 +16,3 @@ deploy:
|
|||
# Set to deploy on: cron with recent commits
|
||||
branch: master
|
||||
condition: $(npm run can-release --silent)
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"release:cws": "cd extension && webstore upload --auto-publish",
|
||||
"release": "run-s build:minified update-version release:*",
|
||||
"update-version": "dot-json extension/manifest.json version $(date -u +%y.%-m.%-d.%-H%M)",
|
||||
"can-release": "if [ \"$TRAVIS_EVENT_TYPE\" = cron ] && [ $(git rev-list -n 1 --since=\"26 hours ago\" master) ]; then true; else false; fi"
|
||||
"can-release": "if [ \"$TRAVIS_EVENT_TYPE\" = cron ] && [ $(git rev-list -n 1 --since=\"26 hours ago\" master) ]; then echo :ship-it:; else false; fi"
|
||||
},
|
||||
"dependencies": {
|
||||
"copy-text-to-clipboard": "^1.0.3",
|
||||
|
|
Загрузка…
Ссылка в новой задаче