From f7b1a6358f38ac5480c034e94655aa72864410e0 Mon Sep 17 00:00:00 2001 From: di-sukharev Date: Fri, 26 May 2023 12:55:27 +0800 Subject: [PATCH] build --- out/cli.cjs | 5 ++--- package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/out/cli.cjs b/out/cli.cjs index 75fc981..77f0684 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.4", + version: "2.2.5", description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}", keywords: [ "git", @@ -16313,9 +16313,8 @@ 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 && npm run postversion", + deploy: "npm run build:push && git push --tags && npm publish --tag latest", "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 b14d93f..f99d6b8 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "start": "node ./out/cli.cjs", "dev": "ts-node ./src/cli.ts", "build": "rimraf out && node esbuild.config.js", - "deploy": "npm version patch && npm run build:push && git push --tags && npm publish --tag latest", + "deploy": "npm run build:push && git push --tags && npm publish --tag latest", "build:push": "npm run build && git add . && git commit -m 'build' && git push", "lint": "eslint src --ext ts && tsc --noEmit", "format": "prettier --write src"