itchio / gothub Goto Github PK
View Code? Open in Web Editor NEWThis project forked from github-release/github-release
๐ command-line app to create and edit releases on Github (and upload artifacts)
License: MIT License
This project forked from github-release/github-release
๐ command-line app to create and edit releases on Github (and upload artifacts)
License: MIT License
$ root@localhost testing_pipeline]# gothub release --user training3 --repo testing_pipeline --tag v66 --name "the source street" --description "please work now" --pre-release
It is returning 404 error:
error: github returned 404 Not Found
Am I missing something here?
I have exported GITHUB_TOKEN and verified.
cf. #1
I wish to be able to upload to an organization repository. For this, I think I must use a token from my personal user account which has the write access.
But I can't target another repo than defined by user
/repo
.
I am looking to have a configuration which is somewhat like:
GITHUB_USER=jpcima
GITHUB_REPO=linuxmao-org/FreeMajor
Maybe when repo
is in the form abc/xyz
, gothub
can use this part in place of the user name to designate the repository target.
The display of URLs that contain access tokens should be off by default and have an option to display them if needed. It is useful to have the output for progress indication purposes, so redirecting it isn't the best solution.
If I create a release from a cloned repo in detached state mode, the tag is created on the branch master, which is not where my current tree come from.
Can I specify a branch when using "gothub release" ?
It seems the API gothub uses to upload releases has changed - I received this message when using it:
Hi <redacted>,
On February 10th, 2020 at <redacted> (UTC) your personal access token (<redacted>) using Go-http-client/1.1 was used as part of a query parameter to access an endpoint through the GitHub API:
https://api.github.com/repositories/<redacted>/releases
Please use the Authorization HTTP header instead, as using the `access_token` query parameter is deprecated and will be removed July 1st, 2020.
Depending on your API usage, we'll be sending you this email reminder once every 3 days for each token and User-Agent used in API calls made on your behalf.
Just one URL that was accessed with a token and User-Agent combination will be listed in the email reminder, not all.
Visit https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters for more information.
Hi,
I know that this program allows users to delete tagged releases and their release notes, but I was wondering if it's possible that you could add the ability to delete individual binary releases (and only the binary releases the user selects for deletion, not all the binaries attached to a release) from release notes. I ask for this because I have my own package repository for Arch Linux binary packages that I maintain on GitHub (https://github.com/fusion809/PKGBUILDs/releases/tag/current) and when a new version of a package comes out I would like to delete the old version of the package from the command-line (using this program, gothub
, of course) and add the new updated version of the package.
By-the-way: I have created an Arch User Repository (AUR) package (URL: https://aur.archlinux.org/packages/gothub) and a binary package (see the GitHub repository link I gave earlier, this binary is in that Arch Linux repository I maintain on GitHub) for gothub.
Thanks for your time,
Brenton
cf. original discussion at github-release#39
Hello,
first, thanks for this fork; I'm experiencing a couple of issues with github-release but I noticed that it didn't seem mantained anymore.
Would you think about uploading precompiled binaries as releases? Building every time from source seems needlessly complex to me... and for a tool that lets to create releases easily, this should be very easy :-)
Right now when github returns an error, the return code from gothub is 1
It would be nice if there was some way to know (other than parsing the output) what the github code was
I was hoping that the return code could be set to the github code
cf. #1
This commit might be cool to add to GotHub too, to make the tag-creation mechanism also via GotHub (it would make it possible that the release-creation script does not need access to the git repo itself, but just uses the API to do everything):
https://github.com/nutmegdevelopment/github-release/commit/d65069f648f98fb0fee037e1010193f672280e98
Would it be possible to add an option to create an annotated tag instead of a lightweight tag?
I am getting this error when using the command on Linux, but not from Windows when pointing to the same GitHub Enterprise site. Other git commands work find on Linux. I am using the "git config --global http.sslCAInfo" command to point to the certificate.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.