diff options
author | Valentin Bartenev <vbart@nginx.com> | 2021-03-25 16:15:03 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2021-03-25 16:15:03 +0300 |
commit | 067c6096e2ec306c4fdae6993140fbbdf4f9a6fd (patch) | |
tree | 8ac964daae973b007e0e683b496d5f1bf3450d62 /src | |
parent | c849483862cba283a123354b9fda7687a9fa32fd (diff) | |
download | unit-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.json | 2 |
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": [ |