From 9a19fb69efbdfdfc8bdebd78be283d256061b8e2 Mon Sep 17 00:00:00 2001 From: Hans Date: Thu, 14 Nov 2019 20:09:37 +0800 Subject: [PATCH] fix auto tag bug --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e8caef2..dee1941 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fast-ws", - "version": "1.0.1-rc.3", + "version": "1.0.1-rc.4", "description": "Simple Node.js server based on uWebSockets", "main": "index.js", "engines": { @@ -14,7 +14,8 @@ "prebuild-upload": "prebuild --upload-all ${PREBUILD_TOKEN}", "clean": "rimraf build node_modules prebuilds", "distclean": "npm run clean", - "postpublish": "git tag v${npm_package_version} && git push --follow-tags" + "tag-version": "git tag -a v${npm_package_version} -m 'release v${npm_package_version}'", + "postpublish": "npm run tag-version && git push --follow-tags" }, "repository": { "type": "git",