From 2486c2fabfd83bc699b189827d61366b372a17ab Mon Sep 17 00:00:00 2001 From: Bret Comnes Date: Thu, 14 Sep 2023 11:26:49 -0700 Subject: [PATCH] Add a git push to the publish step This way pushing we don't forget to push during a publish, and end up with code in npm not in github. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2eef3fa..bd3246b 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "type": "module", "scripts": { "prepare": "npm run lint", + "prepublishOnly": "git push --follow-tags", "lint": "standard -v", "test": "standard && esbuild --format=esm --bundle _test/index.js | tape-run", "test:ci": "esbuild --format=esm --bundle _test/index.js | tape-run",