From 2e1c6e3da6569e7eba977217b216bf0da5313b0c Mon Sep 17 00:00:00 2001 From: Luciano Mammino Date: Tue, 2 May 2017 15:12:51 +0100 Subject: [PATCH] Improved build process reliability --- .editorconfig | 4 ++-- circle.yml | 3 +-- package.json | 4 ++-- publish-release.js | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.editorconfig b/.editorconfig index d4eed84..0a51807 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,6 +2,6 @@ root = true [*] end_of_line = lf -insert_final_newline = false +insert_final_newline = true indent_style = space -indent_size = 2 +indent_size = 2 \ No newline at end of file diff --git a/circle.yml b/circle.yml index 034eec6..085ee7c 100644 --- a/circle.yml +++ b/circle.yml @@ -20,5 +20,4 @@ test: post: - cp -r coverage/lcov-report $CIRCLE_TEST_REPORTS/coverage - codecov - - if [ $CIRCLE_BRANCH = 'master' ]; then npm run build && npm run package:create; fi - - if [ $CIRCLE_BRANCH = 'master' ]; then npm run package:publish && npm publish; fi \ No newline at end of file + - if [ $CIRCLE_BRANCH = 'master' ]; then npm run build && npm run package:create && npm run package:publish && npm publish; fi diff --git a/package.json b/package.json index d01e7d0..ff43f62 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "norrisbot", - "version": "2.0.3", - "description": "a Slack bot that kicks asses (roundhouse-kicks to be accurate...)", + "version": "2.0.4", + "description": "A Slack bot that kicks asses (roundhouse-kicks to be accurate...)", "keywords": [ "Slack", "bot", diff --git a/publish-release.js b/publish-release.js index b152c9f..77aebf3 100644 --- a/publish-release.js +++ b/publish-release.js @@ -1,5 +1,6 @@ /* eslint no-console: "off" */ /* eslint import/no-extraneous-dependencies: "off" */ + const fs = require('fs'); const path = require('path'); const request = require('request-promise');