Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding tar.gz to releases #1554

Merged
merged 2 commits into from
Dec 10, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,32 @@ module.exports = function (grunt) {
}
]
},
package: {
options: {
archive: 'target/ChurchCRM-<%= composer.version %>.tar.gz',
mode: "tar",
pretty: true
},
files: [
{
expand: true,
cwd: 'src/',
src: [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would to have list in a var referenced buy zip and tar

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I did test in vagrant. Works perfectly. So, what you are saying here is that I should change src to zip in one and tar in the other?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

screen shot 2016-12-08 at 10 08 51 am

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this look correct?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the name package: to 'zip': and 'tar': on each one

'**',
'**/.*',
'!**/.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