File: bootstrap.sh

package info (click to toggle)
node-unicode-data 0~20200315%2Bgitfc57d75a-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 256 kB
  • sloc: makefile: 26; sh: 14
file content (21 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash

cd "$(dirname "${BASH_SOURCE}")";

#rm -rf -- output/*/*!(.git);
npm run build;

cd output;

for dir in $(find ./unicode-* -type d -maxdepth 0 | sort -r); do
	cd "${dir}";
	echo "Taking care of ${dir}…";
	git add -A;
	git commit -m 'Update @ https://github.com/mathiasbynens/node-unicode-data/commit/2d076c0f5bf6871644f745834b67003cf9e7dd2d';
	#git commit -m 'Release v0.7.5'
	#git tag v0.7.5;
	git push;
	#git push --tags;
	#npm publish;
	cd ..;
done;