summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
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