Skip to content

Commit

Permalink
Adding tar.gz to releases (#1554)
Browse files Browse the repository at this point in the history
* Adding tar.gz to releases

I’m not sure how to test this.

* updating names from package to zip and tar
  • Loading branch information
jaskipper authored and DawoudIO committed Dec 10, 2016
1 parent 78be87f commit b5e4cdb
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ module.exports = function (grunt) {
}
},
compress: {
package: {
'zip': {
options: {
archive: 'target/ChurchCRM-<%= composer.version %>.zip',
mode: "zip",
Expand All @@ -221,6 +221,32 @@ module.exports = function (grunt) {
}
]
},
'tar': {
options: {
archive: 'target/ChurchCRM-<%= composer.version %>.tar.gz',
mode: "tar",
pretty: true
},
files: [
{
expand: true,
cwd: 'src/',
src: [
'**',
'**/.*',
'!**/.gitignore',
'!vendor/**/example/**',
'!vendor/**/tests/**',
'!vendor/**/docs/**',
'!Images/Person/thumbnails/*.jpg',
'!composer.lock',
'!Include/Config.php',
'!integrityCheck.json'
],
dest: 'churchcrm/'
}
]
},
'demo-data': {
options: {
archive: 'target/ChurchCRM-<%= composer.version %>-demo.tar.gz'
Expand Down

0 comments on commit b5e4cdb

Please sign in to comment.