Skip to content
This repository was archived by the owner on Jun 28, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/cap-deploy-tagger/tasks/tagger.rake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace :deploy do
latest_revision = fetch(:current_revision)
unless fetch(:sshkit_backend) == SSHKit::Backend::Printer # unless --dry-run flag present
strategy.git "tag -f #{tag_name} #{latest_revision}"
strategy.git "push -f --tags"
strategy.git "push -f origin #{tag_name}"
end
info "[cap-deploy-tagger] Tagged #{latest_revision} with #{tag_name}"
end
Expand Down