Skip to content

Commit 72e70ed

Browse files
author
Shevaun Coker
committed
fix bug in tag_release code and bump version
1 parent 9be96a9 commit 72e70ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/easy-deployment/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Easy
22
module Deployment
3-
VERSION = "0.3.1"
3+
VERSION = "0.3.2"
44
end
55
end

lib/easy/deployment/capistrano.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def current_git_branch
6565

6666
desc "Tag the release by creating or moving a remote branch named after the current environment"
6767
task :tag_release do
68-
unless system("git branch -r | grep 'origin/releases/#{stage}'")
68+
if system("git branch -r | grep 'origin/releases/#{stage}'")
6969
system "git push origin :releases/#{stage}"
7070
end
7171
system "git push origin #{branch}:releases/#{stage}"

0 commit comments

Comments
 (0)