[PATCH/foreman 2/2] fixes #1364 mail_patches in 0.4-stable branch referes to develop

Signed-off-by: Florian Koch <florian.koch1981@googlemail.com>

··· --- lib/tasks/patches.rake | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/tasks/patches.rake b/lib/tasks/patches.rake
index 3fd622b…235ad3a 100644
— a/lib/tasks/patches.rake
+++ b/lib/tasks/patches.rake
@@ -5,7 +5,7 @@ task :mail_patches do
end

 # Create all of the patches
  • sh “git format-patch -C -M -s -n --subject-prefix=‘PATCH/foreman’ origin/develop”
  • sh “git format-patch -C -M -s -n --subject-prefix=‘PATCH/foreman’ origin/0.4-stable”

    If we’ve got more than one patch, add --compose

    compose = Dir.glob(“00*.patch”).length > 1 ? “–compose” : “”

    1.7.6.4