Sha256: 66a0b1b3112c05b865550718b7b450b9fdb460b8fe15d23280a1d668a0263da6
Contents?: true
Size: 571 Bytes
Versions: 3
Compression:
Stored size: 571 Bytes
Contents
#!/usr/bin/env ruby # create a github review request for the current branch # usage: # git reviewrequest require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb') include Socialcast::Gitx include Socialcast::Git include Socialcast::Github branch = current_branch username = `git config -z --global --get github.user`.strip password = HighLine.ask("Github password: ") { |q| q.echo = false } run_cmd 'git update' url = create_pull_request username, password, branch share "@SocialcastDevelopers #reviewrequest for #{branch} #scgitx", url
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
socialcast-git-extensions-2.2.4 | bin/git-reviewrequest |
socialcast-git-extensions-2.2.3 | bin/git-reviewrequest |
socialcast-git-extensions-2.2.2 | bin/git-reviewrequest |