-
Notifications
You must be signed in to change notification settings - Fork 58
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
Create github release #62
Comments
👍 this would be useful |
Created a draft here: #73 This is untested (and I do not work with GitHub releases much). Would anyone care to test this out? |
@jekuno @johnnyshields |
Will try it next time I'm releasing a gem. thanks |
Just stumbled into this, this is great, my only other request would be to allow the github token to be retrieved from the environment somehow .. Since I use this for publishing to the github package repository, re-using that mechanism would be great .. so perhaps support getting the token from rubygems credentials the same way the |
Can you explain a bit more about this? |
yes I do .. the --key option .. at least for github uses personal access tokens .. which is the same auth you would want to use to get a github token from .. Like I said there should probably be 3 options .. (in order of precedence)
|
I am fine with But For first option we might want to support custom env var name as I found |
It would be nice if
gem-release
would offer an option to also create an according new github release when using thegem release
command (e.g. viagem release --github
).Github offers a simple API for this purpose. You can automatically create a new Github release using a simple POST, see https://developer.github.com/v3/repos/releases/#create-a-release.
The text was updated successfully, but these errors were encountered: