diff --git a/README.md b/README.md index b365136..3b2cac9 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ You can use OpenCommit by simply running it via the CLI like this `oco`. 2 secon npm install -g opencommit ``` + MacOS may ask to run the command with `sudo` when installing a package globally. + 2. Get your API key from [OpenAI](https://platform.openai.com/account/api-keys). Make sure that you add your payment details, so the API works. 3. Set the key to OpenCommit config: diff --git a/out/cli.cjs b/out/cli.cjs index a109c7b..bc10973 100755 --- a/out/cli.cjs +++ b/out/cli.cjs @@ -16384,7 +16384,7 @@ function G3(t, e2) { // package.json var package_default = { name: "opencommit", - version: "2.4.2", + version: "3.0.0", description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}", keywords: [ "git", @@ -16426,7 +16426,7 @@ var package_default = { dev: "ts-node ./src/cli.ts", build: "rimraf out && node esbuild.config.js", "build:push": "npm run build && git add . && git commit -m 'build' && git push", - deploy: "npm run build:push && npm version patch && git push --tags && git push && npm publish --tag latest", + deploy: "npm run build:push && npm version patch && git push --follow-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 fe238bb..9be5ca2 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "dev": "ts-node ./src/cli.ts", "build": "rimraf out && node esbuild.config.js", "build:push": "npm run build && git add . && git commit -m 'build' && git push", - "deploy": "npm run build:push && npm version patch && git push --tags && npm publish --tag latest", + "deploy": "npm run build:push && npm version patch && git push --follow-tags && npm publish --tag latest", "lint": "eslint src --ext ts && tsc --noEmit", "format": "prettier --write src" },