Skip to content

Commit

Permalink
v2.388
Browse files Browse the repository at this point in the history
  • Loading branch information
quiple committed Sep 27, 2023
1 parent 720566f commit 577b21b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ jobs:
python3 files/versionBits.py files/g11.fea src/GalmuriMono11.kbitx
python3 files/versionBits.py files/g11.fea src/GalmuriMono9.kbitx
python3 files/versionBits.py files/g11.fea src/GalmuriMono7.kbitx
python3 files/versionFea.py files/g11.fea files/g14.fea
python3 files/versionFea.py files/g11.fea files/g11b.fea
python3 files/versionFea.py files/g11.fea files/g11c.fea
python3 files/versionFea.py files/g11.fea files/g9.fea
python3 files/versionFea.py files/g11.fea files/g7.fea
python3 files/versionFea.py files/g11.fea files/gm11.fea
python3 files/versionFea.py files/g11.fea files/gm9.fea
python3 files/versionFea.py files/g11.fea files/gm7.fea
- name: Get npm package version
id: package-version
Expand Down
2 changes: 1 addition & 1 deletion files/g11.fea
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
table head {

FontRevision 2.387;
FontRevision 2.388;

} head;

Expand Down
14 changes: 14 additions & 0 deletions files/versionFea.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env python

import sys
import re

b = sys.argv[1]
f = sys.argv[2]

with open(b, 'rt', encoding='utf8') as before:
mod = re.findall(r'FontRevision\s+(\d\.\d{3})', before.read())

with open(f, 'wt', encoding='utf8') as after:
ver = re.sub(r'FontRevision\s+(\d\.\d{3})', mod, after.read())
after.write(ver)

0 comments on commit 577b21b

Please sign in to comment.