Ver Fonte

Merge pull request #22 from ckeditor/t/6

Internal: Editor will be rebuilt before a new version is tagged. Closes #6.
Piotrek Koszuliński há 8 anos atrás
pai
commit
cf9f69ee36
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      packages/ckeditor5-build-classic/package.json

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

@@ -45,6 +45,7 @@
     "url": "https://github.com/ckeditor/ckeditor5-build-classic.git"
   },
   "scripts": {
+    "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"