Sha256: fb90c7ce1c8d47cdd75fa0d051196225ab9f77d980f40945167712b8da70085a
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true module PrChangelog # A boundary class between git and the rest of the gem class GitProxy LOG_FORMAT = '- %cn: %s%n%w(80, 2, 2)%b' def merge_commits_between(base_ref, current_ref) `git log --merges #{base_ref}..#{current_ref} --format='#{LOG_FORMAT}'` end def git_tags_list `git tag --list`.split("\n") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pr_changelog-0.3.0 | lib/pr_changelog/git_proxy.rb |