-
Notifications
You must be signed in to change notification settings - Fork 0
/
gh-release-noto-cjk-serif-chws-patch.sh
executable file
·49 lines (44 loc) · 3.8 KB
/
gh-release-noto-cjk-serif-chws-patch.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
#!/bin/bash
# Until Sans and Serif are split into two repos on https://github.com/notofonts
# we have everything in this single repo https://github.com/tjw123hh/noto-cjk-chws-patch
# This script will make a new release for Serif. To do a Sans release use gh-release-noto-cjk-sans.sh
# Requires GitHub CLI (https://github.com/cli/cli/releases)
VERSION=2.003
PKGVER=20240815
PKGREL=1
cd Serif
zip -j -r -v 01_NotoSerifCJKChwsPatch.ttc.zip SuperOTC/NotoSerifCJKChwsPatch.ttc LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 02_NotoSerifCJKChwsPatch-OTF-VF.zip Variable/OTF Variable/OTC/NotoSerifCJKChwsPatch-VF.otf.ttc LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 03_NotoSerifCJKChwsPatch-TTF-VF.zip Variable/TTF Variable/OTC/NotoSerifCJKChwsPatch-VF.ttf.ttc LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 04_NotoSerifCJKChwsPatchOTC.zip OTC LICENSE --exclude "*.zip" "*.DS_Store" "OTC/NotoSerifCJKChwsPatch.ttc"
zip -r -v 05_NotoSerifCJKChwsPatchOTF.zip OTF LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 06_NotoSerifCJKChwsPatchSubsetOTF.zip SubsetOTF LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 07_NotoSerifCJKChwsPatchjp.zip OTF/Japanese LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 08_NotoSerifCJKChwsPatchkr.zip OTF/Korean LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 09_NotoSerifCJKChwsPatchsc.zip OTF/SimplifiedChinese LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 10_NotoSerifCJKChwsPatchtc.zip OTF/TraditionalChinese LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 11_NotoSerifCJKChwsPatchhk.zip OTF/TraditionalChineseHK LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 12_NotoSerifChwsPatchJP.zip SubsetOTF/JP LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 13_NotoSerifChwsPatchKR.zip SubsetOTF/KR LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 14_NotoSerifChwsPatchSC.zip SubsetOTF/SC LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 15_NotoSerifChwsPatchTC.zip SubsetOTF/TC LICENSE --exclude "*.zip" "*.DS_Store"
zip -r -v 16_NotoSerifChwsPatchHK.zip SubsetOTF/HK LICENSE --exclude "*.zip" "*.DS_Store"
gh release create Serif${PKGVER}-${PKGREL} --title "Noto Serif CJK CHWS Patch Version ${VERSION}.${PKGVER}-${PKGREL} (OTF, OTC, Super OTC, Subset OTF, Variable OTF/TTF)" -n "Download individual assets from below or through the download [guide](https://github.com/tjw123hh/noto-cjk-chws-patch/tree/main/Serif#downloading-noto-serif-cjk)." \
'01_NotoSerifCJKChwsPatch.ttc.zip#Static Super OTC' \
'02_NotoSerifCJKChwsPatch-OTF-VF.zip#All Variable OTF/OTC' \
'03_NotoSerifCJKChwsPatch-TTF-VF.zip#All Variable TTF/OTC' \
'04_NotoSerifCJKChwsPatchOTC.zip#All Static Language Specific OTCs' \
'05_NotoSerifCJKChwsPatchOTF.zip#All Static Language Specific OTFs' \
'06_NotoSerifCJKChwsPatchSubsetOTF.zip#All Static Region Specific Subset OTFs' \
'07_NotoSerifCJKChwsPatchjp.zip#Language Specific OTFs Japanese (日本語)' \
'08_NotoSerifCJKChwsPatchkr.zip#Language Specific OTFs Korean (한국어)' \
'09_NotoSerifCJKChwsPatchsc.zip#Language Specific OTFs Simplified Chinese (简体中文)' \
'10_NotoSerifCJKChwsPatchtc.zip#Language Specific OTFs Traditional Chinese — Taiwan (繁體中文—臺灣)' \
'11_NotoSerifCJKChwsPatchhk.zip#Language Specific OTFs Traditional Chinese — Hong Kong (繁體中文—香港)' \
'12_NotoSerifChwsPatchJP.zip#Region Specific Subset OTFs Japanese (日本語)' \
'13_NotoSerifChwsPatchKR.zip#Region Specific Subset OTFs Korean (한국어)' \
'14_NotoSerifChwsPatchSC.zip#Region Specific Subset OTFs Simplified Chinese (简体中文)' \
'15_NotoSerifChwsPatchTC.zip#Region Specific Subset OTFs Traditional Chinese — Taiwan (繁體中文—臺灣)' \
'16_NotoSerifChwsPatchHK.zip#Region Specific Subset OTFs Traditional Chinese — Hong Kong (繁體中文—香港)'
rm *.zip
cd ..