Skip to content

Commit

Permalink
Escaping branch tag name in push_git_tags action (#19223)
Browse files Browse the repository at this point in the history
currently, the tag name won't be escaped with a parathesis
  • Loading branch information
thegodland committed Aug 10, 2021
1 parent dd2dfe4 commit e4dfa2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/lib/fastlane/actions/push_git_tags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def self.run(params)
]

if params[:tag]
command << "refs/tags/#{params[:tag]}"
command << "refs/tags/#{params[:tag].shellescape}"
else
command << '--tags'
end
Expand Down

0 comments on commit e4dfa2d

Please sign in to comment.