bug fix
This commit is contained in:
parent
06f866d0d5
commit
7bd4a051db
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue