From 548fd9e664a3602c6c6a593e7904bc7275eab6f3 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 21 May 2015 17:48:23 -0300 Subject: [PATCH] doc: put $SPB_ENV in tag names --- tasks/doc.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/doc.rake b/tasks/doc.rake index 1860fd1..54ba91e 100644 --- a/tasks/doc.rake +++ b/tasks/doc.rake @@ -17,7 +17,7 @@ desc 'Publishes PDF' task :pdfupload => :pdf do require 'date' - tag = Date.today.strftime('doc-%Y-%m-%d') + tag = Date.today.strftime('doc-%Y-%m-%d-') + $SPB_ENV blob = `git hash-object -w docs/_build/latex/softwarepublico.pdf`.strip tree = `printf '100644 blob #{blob}\tsoftwarepublico-#{$SPB_ENV}.pdf\n' | git mktree`.strip commit = `git commit-tree -m #{tag} #{tree}`.strip -- libgit2 0.21.2