mirror of
https://github.com/sunaku/tamzen-font.git
synced 2024-08-17 07:40:35 +03:00
add "Tamsyn" prefix to Git tag names for vN.N trees
This commit is contained in:
parent
19524f348a
commit
bae79897b2
5
Rakefile
5
Rakefile
@ -52,7 +52,7 @@ class Font < Struct.new(:file, :props, :chars)
|
||||
end
|
||||
|
||||
# Font files are looked up in the specified named git trees.
|
||||
TAMZEN_BACKPORT_TREES = %w[ v1.6 v1.6-derived v1.9 ]
|
||||
TAMZEN_BACKPORT_TREES = %w[ Tamsyn-1.6 Tamsyn-1.6-derived Tamsyn-1.9 ]
|
||||
|
||||
# For each font filename regexp, the specified names are substituted.
|
||||
TAMZEN_BACKPORT_MOVES = {
|
||||
@ -118,7 +118,8 @@ file '.tamzen' => ['bdf', __FILE__] do
|
||||
end
|
||||
|
||||
# target the newest available Tamsyn release tag
|
||||
tags = git.tags.map(&:name).sort_by {|s| s.split(/[v.]/).map(&:to_i) }
|
||||
tags = git.tags.map(&:name).grep(/^Tamsyn-/).
|
||||
sort_by {|s| s.scan(/\d+/).map(&:to_i) }
|
||||
target_tag = tags.last
|
||||
|
||||
# for each BDF font in the target release tag...
|
||||
|
Loading…
Reference in New Issue
Block a user