From 4f693c9859b2794bf47746f4cb510a6db51353f1 Mon Sep 17 00:00:00 2001 From: Christian Kuster Date: Wed, 6 Apr 2016 21:48:38 +0200 Subject: [PATCH] New version added v0.0.3 --- Gruntfile.js | 34 ++++++---------------------------- package.json | 2 +- 2 files changed, 7 insertions(+), 29 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index d713323..d1076f1 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,6 +1,9 @@ /** - * Grunt file for node-wifi-scanner + * Grunt file for the ZigBeeSiteSurvey * + * grunt update + * Updates the local common files with the ones from the editor project + * Create a new bugfix version (x.y.++): * grunt v:patch * @@ -10,7 +13,7 @@ * Create a new major version (++.0.0) * grunt v:major * - * Created by kc on 06.04.16 + * Created by kc on 27.06.15. */ module.exports = function (grunt) { @@ -26,43 +29,18 @@ module.exports = function (grunt) { commitFiles: ['-a'], tagName: 'v%VERSION%', tagMessage: 'Version %VERSION%', - push: true, - pushTo: 'git@github.com:ancasicolica/ZigBeeSiteSurvey.git', + push: false, gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d', globalReplace: false, prereleaseName: false, regExp: false } - }, - - zip: { - 'make': { - src: ['./**/**'], - dest: '../ZigBeeSiteSurvey_x.y.z_OS_.zip', - compression: 'DEFLATE' - } - }, - - compress: { - main: { - options: { - archive: 'dist/ZigBeeSiteSurvey-' + grunt.file.readJSON('package.json').version + '-Win-x64.zip' - }, - files: [{ - src: ['*.js', 'LICENSE', '*.json', 'node.exe', '*.md', 'lib/**', 'node_modules/**', 'public/**', 'routes/**', 'views/**'], - dest: 'ZigBeeSiteSurvey-' + grunt.file.readJSON('package.json').version + '-Win-x64' - }] - } } }); grunt.loadNpmTasks('grunt-bump'); - grunt.loadNpmTasks('grunt-zip'); - grunt.loadNpmTasks('grunt-contrib-compress'); - grunt.registerTask('minify', ['concat', 'uglify:js']); grunt.registerTask('v:patch', ['bump:patch']); grunt.registerTask('v:minor', ['bump:minor']); grunt.registerTask('v:major', ['bump:major']); - grunt.registerTask('make', ['zip:make']); }; diff --git a/package.json b/package.json index f5cd7ac..5ecc6fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-wifi-scanner", - "version": "0.0.2", + "version": "0.0.3", "description": "node.js module for WiFi network detection", "main": "index.js", "keywords": [