From 12f7e7eaf9416cf0c3a1a18b452cea24aab9554d Mon Sep 17 00:00:00 2001 From: di-sukharev Date: Fri, 26 May 2023 12:51:55 +0800 Subject: [PATCH] build --- out/cli.cjs | 5 +++-- package.json | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/out/cli.cjs b/out/cli.cjs index bea0d4fb..ddd0858f 100755 --- a/out/cli.cjs +++ b/out/cli.cjs @@ -16272,7 +16272,7 @@ function G3(t, e2) { // package.json var package_default = { name: "opencommit", - version: "2.2.2", + version: "2.2.3", description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}", keywords: [ "git", @@ -16313,8 +16313,9 @@ var package_default = { start: "node ./out/cli.cjs", dev: "ts-node ./src/cli.ts", build: "rimraf out && node esbuild.config.js", - deploy: "npm run build:push && npm version patch && git push && git push --tags && npm publish --tag latest", + deploy: "npm run build:push && npm version patch && npm run postversion", "build:push": "npm run build && git add . && git commit -m 'build' && git push", + postversion: "npm run build && git add . && git commit --amend --no-edit && git push && git push --tags && npm publish --tag latest", lint: "eslint src --ext ts && tsc --noEmit", format: "prettier --write src" }, diff --git a/package.json b/package.json index bac3b1ac..8007ae0f 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,9 @@ "start": "node ./out/cli.cjs", "dev": "ts-node ./src/cli.ts", "build": "rimraf out && node esbuild.config.js", - "deploy": "npm run build:push && npm version patch && git push && git push --tags && npm publish --tag latest", + "deploy": "npm run build:push && npm version patch && npm run postversion", "build:push": "npm run build && git add . && git commit -m 'build' && git push", + "postversion": "npm run build && git add . && git commit --amend --no-edit && git push && git push --tags && npm publish --tag latest", "lint": "eslint src --ext ts && tsc --noEmit", "format": "prettier --write src" },