File: bootstrap.sh

package info (click to toggle)
node-unicode-data 0~20220914%2Bgitb601441-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 89,996 kB
  • sloc: javascript: 1,716; makefile: 27; sh: 23
file content (19 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

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

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

cd output;

for dir in $(find unicode-* -maxdepth 0 -type d | sort -r); do
	cd "${dir}";
	echo "Taking care of ${dir}…";
	git add -A;
	git commit -m 'Release v1.3.0';
	git tag v1.3.0;
	git push;
	git push --tags;
	cd ..;
done;