Permalink
Browse files

Merge pull request #44 from mobify/fix-tar-perms

Fix tar perms
  • Loading branch information...
2 parents 68628e2 + 3921dc1 commit 8194b20457458ff7b9d6308e9bc963928c51772c Ryan Daw committed Feb 14, 2013
Showing with 9 additions and 6 deletions.
  1. +2 −0 CHANGELOG
  2. +2 −2 package.json
  3. +5 −4 src/utils.coffee
View
@@ -1,3 +1,5 @@
+v0.3.15 - Fixes permissions on uploaded tarfiles
+
v0.3.14 - Adds BlackBerry 10 Support
v0.3.13 - Updated version of Mobify.js
View
@@ -1,6 +1,6 @@
{
"name": "mobify-client",
- "version": "0.3.14",
+ "version": "0.3.15",
"description": "Tools for building and compiling mobify.js adaptations",
"author": "Mobify <dev@mobify.com>",
"homepage": "http://www.mobifyjs.com",
@@ -11,7 +11,7 @@
"coffee-script": "1.3.3",
"commander": "1.0.4",
"fstream": "0.1.19",
- "tar": "0.1.13",
+ "tar": "0.1.16",
"uglify-js": "1.3.3",
"clean-css": "https://github.com/rrjamie/clean-css/tarball/9db3294535c260d17844c9215b0a676969dc928e",
"wrench": "1.3.9",
View
@@ -278,12 +278,13 @@ Returns a .tgz stream from a folder.
@param {String} path
###
exports.archive = (path) ->
- files = FStream.Reader {
- path: path,
- type: "Directory",
+ files = FStream.Reader
+ path: path
+ type: "Directory"
filter: () ->
return !/^[.]/.test @basename
- }
+ mode: "0755"
+
tar = Tar.Pack()
gz = Zlib.createGzip()

0 comments on commit 8194b20

Please sign in to comment.