summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2019-05-25 12:39:27 -0600
committermo <mo.khan@gmail.com>2019-05-25 12:39:27 -0600
commit55a1f1016d67772ea71bacc6983417cc69665ed8 (patch)
tree6c564e3d2a82be48954a2be4efdc6f8c1956bcc0 /Rakefile
parent0779e63df38a3f0fd7b504d4f18cafe602618100 (diff)
use the prescribed file name
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index c74f1fc..278a25d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,3 +1,4 @@
+require 'date'
require 'rake/packagetask'
INCLUDED_FILES = [
@@ -9,7 +10,7 @@ INCLUDED_FILES = [
'tmp/.keep',
].freeze
-Rake::PackageTask.new("comp-325", 1) do |package|
+Rake::PackageTask.new("COMP325-1", DateTime.now.strftime("%y%m").to_i) do |package|
package.need_tar_gz = true
package.package_files.add INCLUDED_FILES
end