Commit 4dd0ec80787136386f8bde56009a7c955200beb0
1 parent
c3f96231
Exists in
master
and in
90 other branches
pdf: include $SPB_ENV in filename
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
tasks/doc.rake
... | ... | @@ -19,7 +19,7 @@ task :pdfupload => :pdf do |
19 | 19 | |
20 | 20 | tag = Date.today.strftime('doc-%Y-%m-%d') |
21 | 21 | blob = `git hash-object -w docs/_build/latex/softwarepublico.pdf`.strip |
22 | - tree = `printf '100644 blob #{blob}\tsoftwarepublico.pdf\n' | git mktree`.strip | |
22 | + tree = `printf '100644 blob #{blob}\tsoftwarepublico-#{$SPB_ENV}.pdf\n' | git mktree`.strip | |
23 | 23 | commit = `git commit-tree -m #{tag} #{tree}`.strip |
24 | 24 | |
25 | 25 | sh 'git', 'tag', tag, commit | ... | ... |