Skip to content

Commit

Permalink
Merge pull request #422 from bdunne/git_ref_default
Browse files Browse the repository at this point in the history
Fix missing git_ref default value
  • Loading branch information
jrafanie authored Oct 4, 2023
2 parents 6a8bcba + a1b5c1d commit 896e28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

opts = Optimist.options do
opt :build_type, "nightly or release", :type => :string, :default => "nightly"
opt :git_ref, "Git ref to use (default: git_ref specified in options.yml)", :type => :string
opt :git_ref, "Git ref to use (default: git_ref specified in options.yml)", :type => :string, :default => ManageIQ::RPMBuild::OPTIONS.repos.ref
opt :update_rpm_repo, "Publish the resulting RPMs to the public repository?"
end
Optimist.die "build type must be either nightly or release" unless %w[nightly release].include?(opts[:build_type])
Expand Down

0 comments on commit 896e28e

Please sign in to comment.