Skip to content

Commit 31ff062

Browse files
committed
Version override
1 parent 9d00d05 commit 31ff062

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

configs/projects/openvox-agent.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@
7979
proj.setting(:service_conf, File.join(proj.install_root, 'service_conf'))
8080

8181
proj.description "The OpenVox Agent package contains all of the elements needed to run the agent, including ruby and facter."
82-
proj.version_from_git
82+
if ENV['OPENVOX_AGENT_VERSION']
83+
proj.version ENV['OPENVOX_AGENT_VERSION']
84+
else
85+
proj.version_from_git
86+
end
8387
proj.write_version_file File.join(proj.prefix, 'VERSION')
8488
proj.license "See components"
8589
proj.vendor "Vox Pupuli <[email protected]>"

0 commit comments

Comments
 (0)