From 5754251fe46fb71ab5aee864077a26bfa9a30183 Mon Sep 17 00:00:00 2001 From: AllThatIsTheCase Date: Tue, 7 Apr 2015 12:44:04 +0200 Subject: [PATCH] nailed it --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 687cc81328..c88808d570 100644 --- a/Rakefile +++ b/Rakefile @@ -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