Merge remote-tracking branch 'hw-template/master'

This commit is contained in:
King Kévin 2014-03-26 11:51:16 +01:00
commit e20c70526a
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ names.each do |name|
# schematic revision, based on the number of schematic commits
sch_rev = `git log --pretty=oneline "#{sch}" | wc -l`.chomp.to_i
# pcb layout revision, based on the number of pcb commits
pcb_rev = pcbs.collect {|pcb| `git log --pretty=oneline "#{pcb}" | wc -l`.chomp.to_i}
pcb_rev = `git log --pretty=oneline "#{pcb}" | wc -l`.chomp.to_i
# schema name with version and revition
vsch = "#{name}_v#{version}.#{sch_rev.to_s.rjust(3,'0')}.sch"
# pcb layout name with version and revition