[Xfce4-commits] <moka:master> Fix regular expression for project releases.

Jannis Pohlmann noreply at xfce.org
Sun May 23 00:16:01 CEST 2010


Updating branch refs/heads/master
         to 9498055f686b6f416d03c78eba3d3fcdf1330367 (commit)
       from 8739a9a28cdd72796b4f05a5f1e2d009b02fec4d (commit)

commit 9498055f686b6f416d03c78eba3d3fcdf1330367
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Sat May 22 22:14:45 2010 +0000

    Fix regular expression for project releases.

 lib/models/archive.rb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lib/models/archive.rb b/lib/models/archive.rb
index 70b3995..34f7e2a 100755
--- a/lib/models/archive.rb
+++ b/lib/models/archive.rb
@@ -253,7 +253,8 @@ module Moka
       end
 
       def project_tarball_upload_pattern(project)
-        /^(#{project.name})-([0-9]\.[0-9])\.([0-9]\.){1,2}tar\.bz2$/i
+        # /^(#{project.name})-([0-9]\.[0-9])\.([0-9]\.){1,2}tar\.bz2$/i
+        /^(#{project.name})-([0-9]\.[0-9]+)\.([0-9]+\.){1,2}tar\.bz2$/i
       end
 
       def project_release_tarball_pattern(release)



More information about the Xfce4-commits mailing list