Skip to content
Snippets Groups Projects
Commit bdb41dd8 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Print the version, use correct tag.

parent fe71abc8
No related branches found
No related tags found
1 merge request!605Component versions
2.6.9.pre
v2.6.9.pre
8.3.0.pre
v8.3.0.pre
Loading
Loading
@@ -15,10 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
version = Gitlab::Version.new("GITLAB_VERSION")
require "#{Omnibus::Config.project_root}/lib/gitlab/version"
version = Gitlab::Version.new("GITLAB_VERSION").print
 
name "gitlab-rails"
default_version "v#{version}"
default_version version
 
EE = system("#{Omnibus::Config.project_root}/support/is_gitlab_ee.sh")
 
Loading
Loading
Loading
Loading
@@ -15,10 +15,11 @@
## limitations under the License.
##
#
version = Gitlab::Version.new("GITLAB_SHELL_VERSION")
require "#{Omnibus::Config.project_root}/lib/gitlab/version"
version = Gitlab::Version.new("GITLAB_SHELL_VERSION").print
 
name "gitlab-shell"
default_version "v#{version}"
default_version version
 
dependency "ruby"
dependency "rsync"
Loading
Loading
Loading
Loading
@@ -14,7 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
version = Gitlab::Version.new("GITLAB_WORKHORSE_VERSION")
require "#{Omnibus::Config.project_root}/lib/gitlab/version"
version = Gitlab::Version.new("GITLAB_WORKHORSE_VERSION").print
 
name "gitlab-workhorse"
default_version version
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@ module Gitlab
@read_version = ""
end
 
def version
def print
if @read_version.include?('.pre')
"master"
elsif @read_version.empty?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment