Commit 548fd9e664a3602c6c6a593e7904bc7275eab6f3

Authored by Antonio Terceiro
1 parent 4dd0ec80

doc: put $SPB_ENV in tag names

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
tasks/doc.rake
... ... @@ -17,7 +17,7 @@ desc 'Publishes PDF'
17 17 task :pdfupload => :pdf do
18 18 require 'date'
19 19  
20   - tag = Date.today.strftime('doc-%Y-%m-%d')
  20 + tag = Date.today.strftime('doc-%Y-%m-%d-') + $SPB_ENV
21 21 blob = `git hash-object -w docs/_build/latex/softwarepublico.pdf`.strip
22 22 tree = `printf '100644 blob #{blob}\tsoftwarepublico-#{$SPB_ENV}.pdf\n' | git mktree`.strip
23 23 commit = `git commit-tree -m #{tag} #{tree}`.strip
... ...