Skip to content

Commit

Permalink
main: only pass --version if not git strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 committed Jul 25, 2020
1 parent ba8ce67 commit 774a79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def read_git(*args)
'--no-audit',
'--no-browse',
"--message=#{message}",
"--version=#{version}",
*("--version=#{version}" unless is_git),
*("--url=#{url}" unless is_git),
*("--tag=#{tag}" if is_git),
*("--revision=#{revision}" if is_git),
Expand Down

0 comments on commit 774a79c

Please sign in to comment.