ericclemmons / github-semantic-version

Automated semantic version releases powered by Github Issues.
MIT License
21 stars 8 forks source link

Getting undefined causing Circle CI error #7

Closed poeticninja closed 7 years ago

poeticninja commented 8 years ago

In our project https://github.com/HigherEducation/eslint-config I am getting a build error in Circle CI and the only thing I am seeing is undefined. Here is the log output:

npm run release

> @highereducation/eslint-config@2.9.8 release /home/ubuntu/eslint-config
> github-semantic-version

  github-semantic-version:info Current branch: master +0ms
  github-semantic-version:info Release branch: master +3ms
  github-semantic-version:info Executing: git fetch --tags && git tag -l v* +4ms
From github.com:HigherEducation/eslint-config
 * [new tag]         v2.9.1     -> v2.9.1
  github-semantic-version:info Latest tag: v2.9.8 +1s
  github-semantic-version:info Executing: git log --merges -n1 --format='%an|%ae|%s' v2.9.8..HEAD +0ms
  github-semantic-version:info Executing: git config --get remote.origin.url +41ms
  github-semantic-version:info User: HigherEducation +5ms
  github-semantic-version:info Repo: eslint-config +0ms
undefined

npm ERR! Linux 3.13.0-91-generic
npm ERR! argv "/home/ubuntu/nvm/versions/node/v5.6.0/bin/node" "/home/ubuntu/nvm/versions/node/v5.6.0/bin/npm" "run" "release"
npm ERR! node v5.6.0
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! @highereducation/eslint-config@2.9.8 release: `github-semantic-version`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @highereducation/eslint-config@2.9.8 release script 'github-semantic-version'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @highereducation/eslint-config package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     github-semantic-version
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @highereducation/eslint-config
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @highereducation/eslint-config
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ubuntu/eslint-config/npm-debug.log

npm run release returned exit code 1

Action failed: npm run release
ericclemmons commented 8 years ago

Hmmm, I'm torn. Do we jump in with @daveashworth to solve this with a better release, or debug this here?

This looks like CI output, so you can try to SSH into that machine, run it there, or run it with -d for a dry-run.

I don't know why we'd see undefined, as all of the debug messages have some text.

ericclemmons commented 7 years ago

8 was a massive rewrite, so closing unless it pops up again :)