]> git.openstreetmap.org Git - chef.git/commitdiff
mediawiki: amend git version handling
authorGrant Slater <git@firefishy.com>
Tue, 31 Mar 2015 23:43:59 +0000 (00:43 +0100)
committerGrant Slater <git@firefishy.com>
Tue, 31 Mar 2015 23:43:59 +0000 (00:43 +0100)
cookbooks/mediawiki/providers/site.rb

index 487b72d332f05dcc52e14706200b85d2f0222907..f175dbd5c8052f93be9e3d21d375cfc3e2a81868 100644 (file)
@@ -85,7 +85,7 @@ action :create do
     mode 0775
   end
 
-  mediawiki_reference = "refs/heads/REL#{new_resource.version}".tr(".", "_")
+  mediawiki_reference = "REL#{new_resource.version}".tr(".", "_")
 
   git site_directory do
     action :sync