瀏覽代碼

Preversion hook updates only editor build files.

Kamil Piechaczek 8 年之前
父節點
當前提交
48e875419a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-build-classic/package.json

+ 1 - 1
packages/ckeditor5-build-classic/package.json

@@ -45,7 +45,7 @@
     "url": "https://github.com/ckeditor/ckeditor5-build-classic.git"
   },
   "scripts": {
-    "preversion": "npm run build; if [ -n \"$(git status --porcelain)\" ]; then git add -u build && git commit -m 'Internal: Build.'; fi",
+    "preversion": "npm run build; if [ -n \"$(git status ckeditor.js build/ --porcelain)\" ]; then git add -u ckeditor.js build/ && git commit -m 'Internal: Build.'; fi",
     "build": "npm run create-entry-file && npm run build-ckeditor",
     "create-entry-file": "./bin/create-entry-file.js",
     "build-ckeditor": "./bin/build-ckeditor.sh"