forked from ui-schema/ui-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.sh
executable file
·57 lines (40 loc) · 991 Bytes
/
publish.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >.npmrc
echo "Token length: ${#NPM_TOKEN}"
# todo: not manual resetting the file here
git checkout -- packages/webpackPartialConfig.js
cd ./packages
cd ui-schema
cp README.md build/ && cp ../../LICENSE build/
cd ../
cd ui-schema-pro
cp README.md build/ && cp ../../LICENSE build/
cd ../
cd dictionary
cp README.md build/ && cp ../../LICENSE build/
cd ../
cd ds-bootstrap
cp README.md build/ && cp ../../LICENSE build/
cd ../
cd ds-material
cp README.md build/ && cp ../../LICENSE build/
cd ../
cd kit-dnd
cp README.md build/ && cp ../../LICENSE build/
cd ../
cd material-dnd
cp README.md build/ && cp ../../LICENSE build/
cd ../
cd material-editorjs
cp README.md build/ && cp ../../LICENSE build/
cd ../
cd material-pickers
cp README.md build/ && cp ../../LICENSE build/
cd ../
cd material-slate
cp README.md build/ && cp ../../LICENSE build/
cd ../
cd ../
#npm run release
npm run release -- --yes
rm .npmrc