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

Archivation task in Gruntfile now checks for packages first.

parent 50d3dd2f
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ module.exports = function(grunt) {
},
// Archive debian packages
archive_deb: {
command: 'mv -f <%= project_paths.deploy_dir %>*.deb <%= project_paths.archive_dir %>'
command: 'if [[ -n $(find <%= project_paths.deploy_dir %> -maxdepth 1 -name *.deb) ]]; then mv -f <%= project_paths.deploy_dir %>*.deb <%= project_paths.archive_dir %>; fi;'
},
// Build debian package
build_deb: {
......
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