summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-04-16 09:29:10 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2016-04-18 11:14:59 +0200
commit0b56b0cdbdef9240ea1b4fca9617ec2250bc79de (patch)
tree758d7d7318d10a7503b1b477a5bfa4f8da481c24 /lib
parent27125401f3b8571a79a4f3ba2212afcb9acd214e (diff)
downloadgitlab-shell-0b56b0cdbdef9240ea1b4fca9617ec2250bc79de.tar.gz
Remove rm-tag command
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab_projects.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb
index 6a6c36e..d1a402a 100644
--- a/lib/gitlab_projects.rb
+++ b/lib/gitlab_projects.rb
@@ -53,7 +53,6 @@ class GitlabProjects
when 'create-branch'; create_branch
when 'rm-branch'; rm_branch
when 'create-tag'; create_tag
- when 'rm-tag'; rm_tag
when 'add-project'; add_project
when 'list-projects'; puts list_projects
when 'rm-project'; rm_project
@@ -140,12 +139,6 @@ class GitlabProjects
system(*cmd)
end
- def rm_tag
- tag_name = ARGV.shift
- cmd = %W(git --git-dir=#{full_path} tag -d -- #{tag_name})
- system(*cmd)
- end
-
def add_project
$logger.info "Adding project #{@project_name} at <#{full_path}>."
FileUtils.mkdir_p(full_path, mode: 0770)