module ReleaseManager

Generate credentials for secured remote connections.

Constants

VERSION

Public Class Methods

gitlab_server() click to toggle source
# File lib/release_manager.rb, line 31
def self.gitlab_server
  if ENV['GITLAB_API_ENDPOINT']
    if data = ENV['GITLAB_API_ENDPOINT'].match(/(https?\:\/\/[\w\.]+)/)
      return data[1]
    end
  end
  'https://gitlab.com'
end