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

check if target_commitish exists on github before release #11

Closed
ungoldman opened this issue Mar 2, 2015 · 1 comment
Closed

check if target_commitish exists on github before release #11

ungoldman opened this issue Mar 2, 2015 · 1 comment

Comments

@ungoldman
Copy link
Owner

Currently just 500s like so:

{ tag_name: 'v1.0.2',
  target_commitish: '6065f55b021ee4698fc772d1911181c85d9a9d9d',
  name: 'v1.0.2',
  body: '* double checking refactoring\n\n',
  owner: 'bcomnes',
  repo: 'gh-release-test',
  draft: true,
  prerelease: false }
? does this look right? Yes
{ [Error: {"message":"Server Error","documentation_url":"https://developer.github.com/v3"}]
  message: '{"message":"Server Error","documentation_url":"https://developer.github.com/v3"}',
  code: 500 }

Would be better to check if the commit has been pushed and if not display an informative error message.

5

@ungoldman
Copy link
Owner Author

@paulcpederson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant