Permalink
Browse files

Replace buildnumber placeholder in package.json with build number

  • Loading branch information...
1 parent 2ef926d commit 8af48b0ed9b7eefb48d224397036e074ff054eb9 @mmurphy mmurphy committed May 31, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 makefile
View
@@ -25,6 +25,7 @@ dist: npm_deps
mkdir -p $(DIST_DIR) $(OUTPUT_DIR)/$(RELEASE_DIR)
cp -r ./lib $(OUTPUT_DIR)/$(RELEASE_DIR)
cp ./package.json $(OUTPUT_DIR)/$(RELEASE_DIR)
+ sed -i -e s/BUILD-NUMBER/$(BUILD_NUMBER)/ $(OUTPUT_DIR)/$(RELEASE_DIR)/package.json
tar -czf $(DIST_DIR)/$(RELEASE_FILE) -C $(OUTPUT_DIR) $(RELEASE_DIR)
npm_deps:

0 comments on commit 8af48b0

Please sign in to comment.