Sha256: 6cee0a27fd9867b001ca1d9fc3810700c24a9630fdcc4e34ece0db86792846dc
Contents?: true
Size: 623 Bytes
Versions: 10
Compression:
Stored size: 623 Bytes
Contents
# frozen_string_literal: true module Avm module EacWebappBase0 module Instances class Deploy module Version VERSION_TARGET_PATH = 'VERSION' def version ([::Time.now, commit_sha1] + version_git_refs).join('|') end def version_git_refs git_remote_hashs.select { |_name, sha1| sha1 == commit_sha1 }.keys .map { |ref| ref.gsub(%r{\Arefs/}, '') }.reject { |ref| ref == 'HEAD' } end def version_target_path VERSION_TARGET_PATH end end end end end end
Version data entries
10 entries across 10 versions & 2 rubygems