From 449ec3a367d9e686a3e2dcdece043dc345f63c75 Mon Sep 17 00:00:00 2001 From: Daniel Huigens Date: Thu, 9 Jun 2022 12:54:22 +0200 Subject: [PATCH] Fix CNAME and make docs script portable --- docs/CNAME | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/CNAME b/docs/CNAME index 53d9afd8..7e306b72 100644 --- a/docs/CNAME +++ b/docs/CNAME @@ -1 +1 @@ --n docs.openpgpjs.org +docs.openpgpjs.org \ No newline at end of file diff --git a/package.json b/package.json index 19694ab7..a624c25b 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "browserstack": "karma start test/karma.conf.js", "coverage": "nyc npm test", "lint": "eslint .", - "docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && echo -n 'docs.openpgpjs.org' > docs/CNAME", + "docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && printf '%s' 'docs.openpgpjs.org' > docs/CNAME", "preversion": "rm -rf dist docs node_modules && npm install && npm test", "version": "npm run docs && git add -A docs", "postversion": "git push && git push --tags && npm publish"