Sha256: d1342c941280c3f6ffd9d4b6a1f6df0663b2827a7915dd792adba573db0dfd44

Contents?: true

Size: 1.01 KB

Versions: 8

Compression:

Stored size: 1.01 KB

Contents

#
# Copyright:: Copyright (c) 2012-2014 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name "version-manifest"
description "generates a version manifest file"

build do
  block do
    project_name = project.name
    project_build_version = project.build_version

    File.open("#{install_dir}/version-manifest.txt", "w") do |f|
      f.puts "#{project_name} #{project_build_version}"
      f.puts ""
      f.puts Omnibus::Reports.pretty_version_map(project)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
omnibus-3.2.2 spec/data/complicated/config/software/version-manifest.rb
omnibus-3.2.1 spec/data/complicated/config/software/version-manifest.rb
omnibus-3.2.0 spec/data/complicated/config/software/version-manifest.rb
omnibus-3.2.0.rc.3 spec/data/complicated/config/software/version-manifest.rb
omnibus-3.2.0.rc.2 spec/data/complicated/config/software/version-manifest.rb
omnibus-3.2.0.rc.1 spec/data/complicated/config/software/version-manifest.rb
omnibus-3.1.1 spec/data/complicated/config/software/version-manifest.rb
omnibus-3.1.0 spec/data/complicated/config/software/version-manifest.rb