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

Fix appveyor deployments to github releases #1598

Closed
ericwa opened this issue Dec 30, 2016 · 2 comments
Closed

Fix appveyor deployments to github releases #1598

ericwa opened this issue Dec 30, 2016 · 2 comments
Assignees

Comments

@ericwa
Copy link
Collaborator

ericwa commented Dec 30, 2016

I tried making a tag last week: https://github.com/kduske/TrenchBroom/releases/tag/test-1571

The upload of the Mac and Linux packages from travis worked (using my github credentials in the .travis.yml), the appveyor upload failed though.

Error creating GitHub release: Error reading repository 'kduske/TrenchBroom' releases: 401 - Unauthorized

from: https://ci.appveyor.com/project/kduske/trenchbroom/build/2.0.0-appveyor-164

There's one thing I can try, which is signing in to appveyor with my github account, and regenerate my encrypted github oauth token. I'll make a branch to try that, if it doesn't work, I'll report back here.

@ericwa
Copy link
Collaborator Author

ericwa commented Dec 30, 2016

Argh, that didn't do anything.

@kduske if you want to give it a try, here is what to do:

  • go to https://github.com/settings/tokens and generate a token with the "public_repo" scope (needs to be kept secret, as this token gives push access to the TB repo)
  • go to https://ci.appveyor.com/tools/encrypt and paste in the github oauth token, and press encrypt. Appveyor will return an encrypted token, this can be pasted into appveyor.yml and committed.

@kduske
Copy link
Collaborator

kduske commented Dec 30, 2016

@ericwa see PR #1599

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