Skip to content

Commit

Permalink
nailed it
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Apr 7, 2015
1 parent 880d357 commit 5754251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -536,10 +536,10 @@ task :deploy => [XPI, GR, UPDATE_RDF] do
tagged = `git log -n 1 --pretty=oneline`.strip
current = "#{ENV['CIRCLE_SHA1']} release: #{XPI}"
puts "#{RELEASE}: tagged=#{tagged}, current=#{current}"
if true || tagged == current
if tagged == current
puts "Deploying #{RELEASE} (#{ENV['CIRCLE_SHA1']})"
sh "#{GR} release --user ZotPlus --repo zotero-better-bibtex --tag #{RELEASE} --name 'v#{RELEASE}'"
#sh "#{GR} upload --user ZotPlus --repo zotero-better-bibtex --tag #{RELEASE} --name '#{XPI}' --file '#{XPI}'"
sh "#{GR} upload --user ZotPlus --repo zotero-better-bibtex --tag #{RELEASE} --name '#{XPI}' --file '#{XPI}'"
open("www/_includes/#{EXTENSION}-version.html", 'w'){|f| f.write(RELEASE) }
system "cd www; rake publish"
else
Expand Down

0 comments on commit 5754251

Please sign in to comment.