Skip to content

Commit

Permalink
Don't put signatures in the output
Browse files Browse the repository at this point in the history
It makes parsing... no fun.
  • Loading branch information
mpalmer committed Mar 18, 2019
1 parent 51403bd commit 2f0888e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/git-version-bump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def self.date(use_local_git=false)
return Time.now.strftime("%F")
else
# Clean tree. Date of last commit is needed.
return `git -C #{sq_git_dir} show --format=format:%cd --date=short`.lines.first.strip
return `git -C #{sq_git_dir} show --no-show-signature --format=format:%cd --date=short`.lines.first.strip
end
else
if use_local_git
Expand Down Expand Up @@ -139,7 +139,7 @@ def self.tag_version(v, release_notes = false)
EOF

log_file.close
system("git log --format='# %h %s' #{prev_tag}..HEAD >>#{log_file.path}")
system("git log --no-show-signature --format='# %h %s' #{prev_tag}..HEAD >>#{log_file.path}")

pre_hash = Digest::SHA1.hexdigest(File.read(log_file.path))
system("git config -e -f #{log_file.path}")
Expand Down

0 comments on commit 2f0888e

Please sign in to comment.