Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a disable_version_manifest accessor #220

Merged
merged 4 commits into from
Feb 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions lib/omnibus/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1443,8 +1443,10 @@ def build
# Install shipped sources in the sources/ folder
install_sources

write_json_manifest
write_text_manifest
unless @disable_version_manifest
write_json_manifest
write_text_manifest
end
unless @skip_healthcheck
HealthCheck.run!(self)
end
Expand Down Expand Up @@ -1626,6 +1628,16 @@ def skip_healthcheck(val)
end
end
expose :skip_healthcheck

def disable_version_manifest(val)
if val.nil?
@disable_version_manifest
else
@disable_version_manifest = val
end
end
expose :disable_version_manifest

#
# @!endgroup
# --------------------------------------------------
Expand Down
Loading