chore: copy changelog to website
authorxangelo <me@xangelo.ca>
Thu, 10 Aug 2023 15:21:20 +0000 (11:21 -0400)
committerxangelo <me@xangelo.ca>
Thu, 10 Aug 2023 15:21:20 +0000 (11:21 -0400)
package.json

index 305582ba401aeed841708c8624ef692a43136c9c..867ee4728777867c14ec4f69adaea81a05156e9c 100644 (file)
@@ -14,7 +14,8 @@
     "dev:client": "npx webpack -w",
     "dev:server": "npx nodemon src/server/api.ts",
     "prepare": "husky install",
-    "release": "npx standard-version",
+    "release": "npx standard-version && npm run copy-changelog",
+    "copy-changelog": "cp ./CHANGELOG.md ~/repos/xangelo.ca/static/",
     "release:minor": "npx standard-version --release-as minor",
     "release:patch": "npx standard-version --release-as patch",
     "release:major": "npx standard-version --release-as major"