浏览代码

build: Update readme contributors list before publish (#1023)

Auto update on every release so we don't have to remember to do it
manually. Update it _before_ doing the release so that the Uppy readme on npm is always up to date.
Renée Kooi 6 年之前
父节点
当前提交
d1523ddcb5
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      bin/release

+ 5 - 0
bin/release

@@ -19,6 +19,11 @@ fi
 
 
 set -o xtrace
 set -o xtrace
 
 
+# Update README before publishing `uppy`
+# So up-to-date contributors are shown on the npm page.
+npm run contributors:save
+git commit -m "Update contributors" README.md
+
 # Add readme file to the main `uppy` package.
 # Add readme file to the main `uppy` package.
 cp README.md packages/uppy/README.md
 cp README.md packages/uppy/README.md