From 4dd0ec80787136386f8bde56009a7c955200beb0 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 21 May 2015 17:40:16 -0300 Subject: [PATCH] pdf: include $SPB_ENV in filename --- tasks/doc.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/doc.rake b/tasks/doc.rake index cca79eb..1860fd1 100644 --- a/tasks/doc.rake +++ b/tasks/doc.rake @@ -19,7 +19,7 @@ task :pdfupload => :pdf do tag = Date.today.strftime('doc-%Y-%m-%d') blob = `git hash-object -w docs/_build/latex/softwarepublico.pdf`.strip - tree = `printf '100644 blob #{blob}\tsoftwarepublico.pdf\n' | git mktree`.strip + tree = `printf '100644 blob #{blob}\tsoftwarepublico-#{$SPB_ENV}.pdf\n' | git mktree`.strip commit = `git commit-tree -m #{tag} #{tree}`.strip sh 'git', 'tag', tag, commit -- libgit2 0.21.2