From 2bcaa07bad444f2ea19625b968569dfb8e5430b5 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Tue, 5 Feb 2019 15:02:56 -0400 Subject: [PATCH] after publish ensure latest changes (and tags) are pushed The tag associated with a release will trigger the prebuild process, and pushing the current branch means local commits are not accidentally left on the local machine. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f495f2bc..1325a693 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,8 @@ "prebuild-node-ia32": "prebuild -t 6.11.0 -t 7.9.0 -t 8.9.0 -t 9.4.0 -a ia32 --strip", "prebuild-electron": "prebuild -t 1.6.11 -t 1.7.10 -t 1.8.0 -t 2.0.0 -t 3.0.0 -t 4.0.4 -r electron --strip", "prebuild-electron-ia32": "prebuild -t 1.6.11 -t 1.7.10 -t 1.8.0 -t 2.0.0 -t 3.0.0 -t 4.0.4 -r electron -a ia32 --strip", - "upload": "node ./script/upload.js" + "upload": "node ./script/upload.js", + "postpublish": "git push --follow-tags" }, "devDependencies": { "babel-core": "^6.26.3",