[Xfce4-commits] <moka:master> Properly trigger a collection release update once everything's done.

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


Updating branch refs/heads/master
         to 198f5aec6f5ce31f206fedb3116813d6d499ab8f (commit)
       from 8fca76368bf309e367ca0efadc7c6247b16e69f9 (commit)

commit 198f5aec6f5ce31f206fedb3116813d6d499ab8f
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Sun May 23 00:35:45 2010 +0200

    Properly trigger a collection release update once everything's done.
    
    This hopefully fixes the generation of the fat tarballs.

 lib/controllers/collections.rb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/controllers/collections.rb b/lib/controllers/collections.rb
index a62a6e2..0f31a2e 100755
--- a/lib/controllers/collections.rb
+++ b/lib/controllers/collections.rb
@@ -113,7 +113,7 @@ module Moka
             end
             
             if env['identica'] and params[:identica]
-	      url = env['feeds'].get_collection_feed_url(@collection)
+	            url = env['feeds'].get_collection_feed_url(@collection)
 
               if env['identica'].group.nil?
                 status = "#{@collection.display_name} #{@release.version} released: #{url}"
@@ -131,6 +131,8 @@ module Moka
             end
 
             redirect '/'
+
+            @release.update
           end
 
           view :collection_new_release



More information about the Xfce4-commits mailing list