Fix version injection when running on jenkins.
Merge pull request #10 from RX14/master

Fix version injection when running on jenkins.