Skip to content
Snippets Groups Projects
Commit 040563b8 authored by Jan Mach's avatar Jan Mach
Browse files

Changed version number generation for Debian packages.

Instead of appending build number to version string only for development suite packages, the buildnumber will now not be appended only to production level packages and will be present in any other cases. (Redmine issue: #3387)
parent 5aa6ad5c
No related branches found
No related tags found
No related merge requests found
......@@ -11,11 +11,11 @@ module.exports = function(grunt) {
}
function version() {
if (distribution == 'development') {
return '<%= pkg.version %>.' + buildnumber;
if (distribution == 'production') {
return '<%= pkg.version %>'
}
else {
return '<%= pkg.version %>'
return '<%= pkg.version %>.' + buildnumber;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment