diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-10-28 08:43:30 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-10-28 09:03:26 +0300 |
commit | 49d098476b160a2c938eed0d0cd1616c8dd5d9a6 (patch) | |
tree | d6d928e7e1a6ee75d535ded64e60e7eaa2a7c1d2 /ruby/proto | |
parent | a55f6c710a4a48af6dac25b8236497388447584b (diff) |
tools/protogem: Generate version file ad-hoc
On every version bump the GitLab Release Tools bot updates the version
in two different files: first in our top-level `VERSION` file, and
second in the Ruby Protobuf files at `ruby/proto/version.rb`. Both files
basically contain the same information, but serve different purposes.
We're about to drop our generated Ruby Protobuf code though in favor of
creating the Protobuf Gem ad-hoc. This also means it doesn't make a
whole lot of sense anymore to carry around the version file in our tree.
Consequentially, we've adjusted the Release Tools bot to stop writing
the `version.rb` file completely. Instead, we now generate the file via
the information we already have in our `VERSION` file.
Diffstat (limited to 'ruby/proto')
-rw-r--r-- | ruby/proto/gitaly/version.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ruby/proto/gitaly/version.rb b/ruby/proto/gitaly/version.rb index 57c1cde7e..45d43cd6f 100644 --- a/ruby/proto/gitaly/version.rb +++ b/ruby/proto/gitaly/version.rb @@ -1,6 +1,4 @@ -# This file was auto-generated by the Release Tools project -# (https://gitlab.com/gitlab-org/release-tools/), and should not be -# modified. +# This file is generated by generate-proto-ruby. Do not edit. module Gitaly VERSION = '15.4.0-rc2' end |