gitaly_release: Allow skipping the update of `version.rb`
What does this MR do and why?
When tagging a new release for Gitaly we update two different files:
VERSION
and ruby/proto/gitaly/version.rb
. Gitaly is about to drop
the Ruby code generated from its Protobuf definitions though and will
instead generate all files in ruby/proto
ad-hoc when publishing a new
Ruby Gem. This is done in preparation for dropping the Ruby sidecar in
one of the next releases.
This conversion means that generating the version.rb
file is not
necessary anymore. Instead, Gitaly knows to use the VERSION
file
to generate the version.rb
file by itself. Let's thus stop writing
that file given that there are no other known consumers of it.
See gitaly!4982 (merged) for the Gitaly-side MR to drop ruby/proto
.
Author Check-list
- [-] Has documentation been updated?
Edited by Mayra Cabrera