Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on commit step while releasing #1047

Closed
TechGenius7777 opened this issue Oct 7, 2023 · 3 comments
Closed

Error on commit step while releasing #1047

TechGenius7777 opened this issue Oct 7, 2023 · 3 comments

Comments

@TechGenius7777
Copy link

I am getting this error in the commit step when I try to run pnpm release
I am using WSL by the way

pnpm release --ci

> coffee@8.11.1 release /home/{user}/coffee
> dotenv release-it -- "--ci"

Enter passphrase for key '/home/{user}/.ssh/id_ed25519':
🚀 Let's release coffee (8.11.1...8.11.2)
Changelog:

## v8.11.1...main
[compare changes](https://github.com/TechGenius7777/coffee/compare/v8.11.1...main)
### 🚀 Enhancements
- **packages/eslint-config-custom:** Added case-police eslint plugin ([4ba35e6](https://github.com/TechGenius7777/coffee/commit/4ba35e6))
### 🩹 Fixes
- Fixed all errors issued by the new eslint-plugin-unicorn ([334a007](https://github.com/TechGenius7777/coffee/commit/334a007))
### 🏡 Chore
- Dependency upgrades and added case-police ([bc08abb](https://github.com/TechGenius7777/coffee/commit/bc08abb))
- **package.json:** Updated node version to >=20 in package.json ([81c5d8f](https://github.com/TechGenius7777/coffee/commit/81c5d8f))
- **package.json:** Removed engines property in package.json ([d4ec3d7](https://github.com/TechGenius7777/coffee/commit/d4ec3d7))
- Set node version to 20 ([c12be9b](https://github.com/TechGenius7777/coffee/commit/c12be9b))
- Fixed format and lint scripts and added eslint-plugin-unicorn ([08048df](https://github.com/TechGenius7777/coffee/commit/08048df))
- Added eslint-plugin-unicorn in various .eslintrc.json files ([d85bd24](https://github.com/TechGenius7777/coffee/commit/d85bd24))
- **.husky/pre-commit:** Renamed npm run lint to pnpm lint ([f568ba0](https://github.com/TechGenius7777/coffee/commit/f568ba0))
- Added taze and dependency upgrades ([a0e0f08](https://github.com/TechGenius7777/coffee/commit/a0e0f08))
### 🎨 Styles
- **.prettierrc:** Now using the default prettier configuration ([d815fc4](https://github.com/TechGenius7777/coffee/commit/d815fc4))
- **readme.md:** Fix case typo ([ed25d9f](https://github.com/TechGenius7777/coffee/commit/ed25d9f))
### ❤️ Contributors
- Tech Genius <user@gmail.com>
✔ npm version
✔ npx changelogen@latest --output
Changeset:
 M CHANGELOG.md
 M apps/client/package.json
 M package.json
✖ Git commit
ERROR Error: cz-cli@4.3.0, cz-conventional-changelog@3.3.0

? Select the type of change that you're committing: (Use arrow keys)
❯ feat:     A new feature
  fix:      A bug fix
  docs:     Documentation only changes
  style:    Changes that do not affect the meaning of the code (white-space,
formatting, missing semi-colons, etc)
  refactor: A code change that neither fixes a bug nor adds a feature
  perf:     A code change that improves performance
(Move up and down to reveal more choices)error: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory?
Load key "/home/{user}/.ssh/id_ed25519": incorrect passphrase supplied to decrypt private key?

fatal: failed to write commit object
Rolling back changes...
 ELIFECYCLE  Command failed with exit code 1.
@webpro
Copy link
Collaborator

webpro commented Oct 7, 2023

Looks like another tool is also asking questions, since "Select the type of change that you're committing" is not from release-it and that's probably the issue here. I don't know if there's a way around it.

@TechGenius7777
Copy link
Author

Looks like another tool is also asking questions, since "Select the type of change that you're committing" is not from release-it and that's probably the issue here. I don't know if there's a way around it.

It's the prompt of commitizen, but I have already passed the --no-verify flag in the commitArgs array so it should not be running but it is

@webpro
Copy link
Collaborator

webpro commented May 8, 2024

In general, having multiple instances of Inquirer isn't working great. I remember more reports about this. Sorry, not much I can do here other than recommending to find a way and not combine tools that both use Inquirer.

@webpro webpro closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants