diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-01-22 09:18:05 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-01-22 09:24:28 +0300 |
commit | bfda203a0addb7010229422f337e90ac42a018b2 (patch) | |
tree | 825aac43a2badf16577887122ec5e5aabb720260 | |
parent | 3f55e2855c077ee21a3bee64e1b89b633a78c4ae (diff) |
properly delete even with special chars
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | .drone.yml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,11 +23,11 @@ pipeline: image: node:lts-alpine commands: - apk add git bash - - rm js/* + - find js/ -type f -delete - npm install - npm run build - git status - - bash -c "[[ ! `git status --porcelain` ]] || ( echo 'Uncommited changes in vue build' && exit 1 )" + - bash -c "[[ ! \"`git status --porcelain js/`\" ]] || ( echo 'Uncommited changes in vue build' && exit 1 )" when: matrix: TESTS: vue-build |