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

Changelog file must not be commited if it's disabled #9

Open
ezze opened this issue Feb 16, 2021 · 0 comments
Open

Changelog file must not be commited if it's disabled #9

ezze opened this issue Feb 16, 2021 · 0 comments

Comments

@ezze
Copy link
Owner

ezze commented Feb 16, 2021

$ raise-version minor
Updating "/home/ezze/Development/eslint-config-ezze/package.json"...
minor: 0.9.0 => 0.10.0
Version in "/home/ezze/Development/eslint-config-ezze/package.json" is updated.
Updating git repository...
$ git rev-parse --abbrev-ref HEAD
dev
$ git add /home/ezze/Development/eslint-config-ezze/package.json CHANGELOG.md
fatal: pathspec 'CHANGELOG.md' did not match any files
Error: Command failed with exit code 128: git add /home/ezze/Development/eslint-config-ezze/package.json CHANGELOG.md
fatal: pathspec 'CHANGELOG.md' did not match any files
    at makeError (/home/ezze/Development/eslint-config-ezze/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/home/ezze/Development/eslint-config-ezze/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  shortMessage: 'Command failed with exit code 128: git add /home/ezze/Development/eslint-config-ezze/package.json CHANGELOG.md',
  command: 'git add /home/ezze/Development/eslint-config-ezze/package.json CHANGELOG.md',
  exitCode: 128,
  signal: undefined,
  signalDescription: undefined,
  stdout: '',
  stderr: "fatal: pathspec 'CHANGELOG.md' did not match any files",
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
Some git error is occurred, reverting back everything that is possible:
- master commited: false
- dev commited: false
- tagged: false
Unable to execute command: git add /home/ezze/Development/eslint-config-ezze/package.json CHANGELOG.md
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

1 participant