Skip to content

Commit

Permalink
Merge pull request #87 from Fliplet/feat-update-libs
Browse files Browse the repository at this point in the history
Updated libraries and native framework bump and changelog
  • Loading branch information
squallstar authored Oct 5, 2018
2 parents 92ee252 + 16e2414 commit 8143b67
Show file tree
Hide file tree
Showing 4 changed files with 1,193 additions and 1,160 deletions.
4 changes: 4 additions & 0 deletions docs/Native-framework-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ We regularly update our framework to support new features. If you have an older

## Latest versions (3.x)

### Version 3.9.0 (October 3, 2018)

- Barcode scanner plugin added

### Version 3.8.5 (August 29, 2018)

- SQLite plugin removed
Expand Down
21 changes: 11 additions & 10 deletions lib/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ function publish() {
});

archive.on('end', function(err) {
if (err) {
console.error(err);
process.exit(1);
}

var zip = fs.createReadStream(tempName);

var formData = {
Expand Down Expand Up @@ -81,16 +86,12 @@ function publish() {

archive.pipe(output);

archive
.bulk([
{
cwd: './',
src: ['**/*', '!.git/**', '!.gitignore', '!node_modules'],
expand: true,
dest: ''
}
])
.finalize();
archive.glob('**/*', {
cwd: './',
ignore: ['.git', '.gitignore', 'node_modules']
}, {})

archive.finalize();
});
}

Expand Down
Loading

0 comments on commit 8143b67

Please sign in to comment.