summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2021-03-25 16:15:03 +0300
committerValentin Bartenev <vbart@nginx.com>2021-03-25 16:15:03 +0300
commit067c6096e2ec306c4fdae6993140fbbdf4f9a6fd (patch)
tree8ac964daae973b007e0e683b496d5f1bf3450d62 /src
parentc849483862cba283a123354b9fda7687a9fa32fd (diff)
downloadunit-067c6096e2ec306c4fdae6993140fbbdf4f9a6fd.tar.gz
unit-067c6096e2ec306c4fdae6993140fbbdf4f9a6fd.tar.bz2
Node.js: used distinct placeholder for version in "package.json".
This makes the "sed" instruction simpler and more portable, as the previous variant didn't work well on BSD systems due to the "\s" metacharacter. Thanks to Sergey A. Osokin <osa@FreeBSD.org.ru> for spotting this issue. Also, this should prevent accidentally creating a version 1.0.0 package.
Diffstat (limited to '')
-rw-r--r--src/nodejs/unit-http/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodejs/unit-http/package.json b/src/nodejs/unit-http/package.json
index 7ee01346..81f06bd4 100644
--- a/src/nodejs/unit-http/package.json
+++ b/src/nodejs/unit-http/package.json
@@ -1,6 +1,6 @@
{
"name": "unit-http",
- "version": "1.0.0",
+ "version": "%%VERSION%%",
"description": "HTTP module for NGINX Unit",
"main": "http.js",
"files": [