Skip to content

Commit

Permalink
Tweak versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Feb 21, 2022
1 parent 8b01223 commit 4487622
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions data.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
# frozen_string_literal: true

NOW = Time.now

module RVATracks
NAME = 'rva_tracks'
DESCRIPTION = "Re-Volt America's Tracks Pack"
YEAR = "#{NOW.year.digits[0]}#{NOW.year.digits[1]}"
MONTH = NOW.month < 10 ? "0#{NOW.month}" : NOW.month.to_s
DAY = NOW.day < 10 ? "0#{NOW.day}" : NOW.day.to_s
VERSION = "#{YEAR}.#{MONTH}#{DAY}"
URL = 'https://distribute.revolt-america.com/rva/rva_tracks.zip'
YEAR = 22
MONTH = 2
DAY = 21
VERSION = "#{YEAR}.#{MONTH < 10 ? "0#{MONTH}" : MONTH}#{DAY < 10 ? "0#{DAY}" : DAY}"
end

0 comments on commit 4487622

Please sign in to comment.