Persist docs/CNAME after release

This commit is contained in:
Daniel Huigens 2022-01-25 18:53:32 +01:00
parent d5d8de36f5
commit 917b5e51c2

View File

@ -47,7 +47,7 @@
"browserstack": "karma start test/karma.conf.js", "browserstack": "karma start test/karma.conf.js",
"coverage": "nyc npm test", "coverage": "nyc npm test",
"lint": "eslint .", "lint": "eslint .",
"docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src", "docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && echo -n 'docs.openpgpjs.org' > docs/CNAME",
"preversion": "rm -rf dist docs node_modules && npm install && npm test", "preversion": "rm -rf dist docs node_modules && npm install && npm test",
"version": "npm run docs && git add -A docs", "version": "npm run docs && git add -A docs",
"postversion": "git push && git push --tags && npm publish" "postversion": "git push && git push --tags && npm publish"