-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
How to reproduce:
- Create a whole new repository via Github
- Clone it locally
- Make a commit but don't push
- Run gpgit and it will fail
The error:
==> 5. Upload the release
-> 5.1 Configure HTTPS download server
Github uses well configured https.
-> 5.2 Upload to Github
Creating new Github release '0.2.0'.
==> ERROR: Github API message: 'Validation Failed'. Check your token configuration: https://github.com/settings/tokens
The error is quite missleading. It happens because no branch exists upstream, so the release cannot be tagged onto that branch. We should either push the current branch (which has pro & cons) or detect that issue as early as possible.
Reactions are currently unavailable