Skip to content

Commit

Permalink
Fix version format
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Oct 1, 2023
1 parent e7b64ef commit de3340a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module RVA
DAY = 1
REVISION = 1
SUFFIX = 'a'
VERSION = "#{YEAR}.#{MONTH < 10 ? "0#{MONTH}" : MONTH}#{DAY}#{SUFFIX}-#{REVISION}"
VERSION = "#{YEAR}.#{MONTH < 10 ? "0#{MONTH}" : MONTH}#{DAY < 10 ? "0#{DAY}" : DAY}#{SUFFIX}-#{REVISION}"

module RVACars
NAME = 'rva_cars'
Expand All @@ -18,7 +18,7 @@ module RVACars
DAY = 1
REVISION = 1
SUFFIX = 'a'
VERSION = "#{YEAR}.#{MONTH < 10 ? "0#{MONTH}" : MONTH}#{DAY}#{SUFFIX}-#{REVISION}"
VERSION = "#{YEAR}.#{MONTH < 10 ? "0#{MONTH}" : MONTH}#{DAY < 10 ? "0#{DAY}" : DAY}#{SUFFIX}-#{REVISION}"
URL = 'https://distribute.rva.lat/rva/rva_cars.zip'
end

Expand All @@ -30,7 +30,7 @@ module RVATracks
DAY = 1
REVISION = 1
SUFFIX = 'a'
VERSION = "#{YEAR}.#{MONTH < 10 ? "0#{MONTH}" : MONTH}#{DAY}#{SUFFIX}-#{REVISION}"
VERSION = "#{YEAR}.#{MONTH < 10 ? "0#{MONTH}" : MONTH}#{DAY < 10 ? "0#{DAY}" : DAY}#{SUFFIX}-#{REVISION}"
URL = 'https://distribute.rva.lat/rva/rva_tracks.zip'
end

Expand All @@ -42,7 +42,7 @@ module RVALegoTracks
DAY = 26
REVISION = 2
SUFFIX = 'a'
VERSION = "#{YEAR}.#{MONTH < 10 ? "0#{MONTH}" : MONTH}#{DAY}#{SUFFIX}-#{REVISION}"
VERSION = "#{YEAR}.#{MONTH < 10 ? "0#{MONTH}" : MONTH}#{DAY < 10 ? "0#{DAY}" : DAY}#{SUFFIX}-#{REVISION}"
URL = 'https://distribute.rva.lat/rva/rva_lego_tracks.zip'
end
end

0 comments on commit de3340a

Please sign in to comment.