Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Made the github release upload URL dynamic #95

Merged
merged 2 commits into from
Feb 29, 2016

Conversation

anoopengineer
Copy link
Collaborator

goxc was hardcoding the githup upload URL to point to github.com.
This was breaking goxc release push on Github enterprise installation
where the URL would be customdomain.com rather than github.com.
This change reads the upload URL from the JSON message returned from
Github API and uses that dynamically rather than hardcoding it.

Anoop Kunjuraman added 2 commits January 19, 2016 15:57
goxc was hardcoding the githup upload URL to point to github.com.
This was breaking goxc release push on Github enterprise installation
where the URL would be customdomain.com rather than github.com.
This change reads the upload URL from the JSON message returned from
Github API and uses that dynamically rather than hardcoding it.
@laher
Copy link
Owner

laher commented Feb 26, 2016

Hi there. So sorry for neglecting this for so long. It looks awesome in principle, I just have one nit-pick - I'll comment on the relevant lines

@laher
Copy link
Owner

laher commented Feb 26, 2016

Actually no, I don't want to nit-pick. I was going to suggest more defensiveness around the split line, but on reflection it looks legit. Hang on, I'll add you to the project and then you can merge this pull request yourself.

@anoopengineer
Copy link
Collaborator Author

Thanks!

anoopengineer added a commit that referenced this pull request Feb 29, 2016
Made the github release upload URL dynamic
@anoopengineer anoopengineer merged commit e3a4dc4 into laher:master Feb 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants