Overall, this was broken enough that I will probably just produce a manual PR again next time. Specifically, I had to do these: brew install -build-from-source clipper This created this PR, which had a checklist in it which I dutifully marked off. (Note the pushing over SSH here because I can’t push over HTTPS.) The Github documentation seems extensive & fine at first glance, but when you actually dive in & want to do serious stuff, the documentation is just bad & lacking all over the place. Seeing it not work a second time, I just manually pushed the commit: git push -set-upstream :/wincent/homebrew-core.git clipper-2.0.0:clipper-2.0.0 In the end, after hours of work, I realised I did not need a token for the calls I actually needed in production. Git br -D clipper-2.0.0 # "br" is an aliase for "branch" Provide a detailed description of the proposed feature When brew gist-logs (and maybe others) fails because of insufficient scope on the GitHub API token, the only feedback is Error: Not Found, which does not point toward the solution. Git co master # "co" is an alias for "checkout" GitHub Token, click on your user menu GoReleaser workflow 357. I found that I couldn’t try again without first resetting the repo (because the first attempt had created a clipper-2.0.0 branch and subsequent attempts claimed the version had already been bumped): cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core Step 1 - Create a Personal Access Token for Homebrew Login to your Github Account or create one if you dont have one yet. Homebrew tap repository that was defined earlier in the GoReleaser configuration file. Password for Invalid username or password.Įrror: Failure while executing `git push -set-upstream clipper-2.0.0:clipper-2.0.0` exited with 128. Short version Create a new Personal Token in your Github Account Settings (Sidebar: Applications) and then copy the Token. When I tried to run brew bump-formula-pr, it told me I needed a GitHub API token, so I got one of those and tried again: HOMEBREW_GITHUB_API_TOKEN= $REDACTED brew bump-formula-pr \ These are some notes made trying to update the Clipper recipe for the v2.0.0 release.Īfter testing the build and ensuring the release was tagged and published in the releases tab on GitHub, I confirmed the download URL: wget Īnd grabbed the SHA256 hash: openssl sha256 2.0.0.tar.gz
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |