From 1bc1b8e50c5e107a87d712b0c44d06f59fb1d088 Mon Sep 17 00:00:00 2001 From: Matt Yoho Date: Tue, 21 Sep 2010 17:48:30 -0400 Subject: [PATCH] Add timestamps to package output --- Rakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 8fccbbd..de5d5be 100644 --- a/Rakefile +++ b/Rakefile @@ -11,8 +11,9 @@ DIST_DIR = 'dist' SRC_FILES = FileList["#{SRC_DIR}/*"] KOAN_FILES = SRC_FILES.pathmap("#{PROB_DIR}/%f") -TAR_FILE = "#{DIST_DIR}/rubykoans.tgz" -ZIP_FILE = "#{DIST_DIR}/rubykoans.zip" +today = Time.now.strftime("%Y-%m-%d") +TAR_FILE = "#{DIST_DIR}/rubykoans-#{today}.tgz" +ZIP_FILE = "#{DIST_DIR}/rubykoans-#{today}.zip" CLOBBER.include(DIST_DIR) -- 1.8.0.2