Browse Source

Fixes #899: Only touch `stamp-npm` if `npm install` was successful

JC Brand 8 years ago
parent
commit
2603e6880e
2 changed files with 2 additions and 2 deletions
  1. 1 0
      CHANGES.md
  2. 1 2
      Makefile

+ 1 - 0
CHANGES.md

@@ -41,6 +41,7 @@
 - Bookmark icon shown in the open rooms list when `allow_bookmarks` is to `false`.
 - It wasn't possible to add or remove bookmarks via the "Open Rooms" list.
 - #879 Text in links are converted to smileys leading to non-clickable links.
+- #899: Only touch `stamp-npm` if `npm install` was successful
 - #902 `make build` dependends on non-existing files
 
 ## 3.1.1 (2017-07-12)

+ 1 - 2
Makefile

@@ -100,8 +100,7 @@ release:
 ## Install dependencies
 
 stamp-npm: package.json
-	npm install
-	touch stamp-npm
+	npm install && touch stamp-npm
 
 stamp-bundler: Gemfile
 	mkdir -p .bundle