From 47203e6291c5877b10e070e66ada357aa3082c17 Mon Sep 17 00:00:00 2001 From: RocktimSaikia Date: Mon, 22 Feb 2021 02:26:26 -0800 Subject: [PATCH] build: add a script to push version tags --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 47f7fd2..bae2b75 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "anime-chan-api", - "version": "1.0.0", + "version": "2.0.0", "main": "index.js", "license": "MIT", "repository": { @@ -17,6 +17,7 @@ "lint": "eslint .", "lint:fix": "eslint . --fix", "postinstall": "husky install", + "postversion": "git push && git push --tags", "commit": "cz" }, "dependencies": {