class Fastlane::Actions::SyncGitTagsAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane-ext/sync_git_tags.rb, line 25 def self.available_options [] end
description()
click to toggle source
@!group Documentation
# File lib/fastlane-ext/sync_git_tags.rb, line 17 def self.description 'Synchronize git tags with remote' end
details()
click to toggle source
# File lib/fastlane-ext/sync_git_tags.rb, line 21 def self.details 'Synchronize git tags with remote' end
example_code()
click to toggle source
# File lib/fastlane-ext/sync_git_tags.rb, line 29 def self.example_code [ 'sync_git_tags' ] end
is_supported?(_platform)
click to toggle source
# File lib/fastlane-ext/sync_git_tags.rb, line 39 def self.is_supported?(_platform) true end
run(params)
click to toggle source
# File lib/fastlane-ext/sync_git_tags.rb, line 6 def self.run(params) rm_cmd = 'git tag -d $(git tag -l)' fetch_cmd = 'git fetch --prune --tags' raise "Failed to remove tags! cmd: '#{rm_cmd}'" unless system(rm_cmd) raise "Failed to fetch tags! cmd: '#{fetch_cmd}'" unless system(fetch_cmd) end