Can't use release for private repository
See original GitHub issueHi!
I have used release before and it works perfectly fine for public repositories. But for private repositories I always face the following.
❯ release patch
✔ Bumped version tag to 2.0.1
✔ Created release commit
✔ Tagged commit
✔ Pushed everything to remote
Error! Could not determine GitHub repository.
Here’s what the package.json looks like.
{
"name": "joveo-tars",
"version": "2.0.1",
"description": "Setup for pristine Joveo Machines",
"main": "main.js",
"repository": "git@github.com:joveo/tars.git",
"scripts": {
"start": "node main.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"private": true,
"author": "Praveen Puglia",
"license": "MIT",
"dependencies": {
"chalk": "^1.1.3",
"cli-spinner": "^0.2.6",
"download": "^5.0.3",
"inquirer": "^3.0.6",
"jsonfile": "^2.4.0",
"prettyjson": "^1.2.1",
"shelljs": "^0.7.7"
}
}
I am not sure why this error comes up - Error! Could not determine GitHub repository
. Does release need some Auth token from github in order to work for private repos?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
Github releases - are they private for private repo?
Yes, release assets on private repositories are private and require authentication to access or download. This is useful if you have an ...
Read more >Private Repositories - Declarative GitOps CD for Kubernetes
Navigate to Settings/Repositories. connect repo overview · Click Connect Repo using HTTPS button and enter credentials. connect repo · Click Connect to test...
Read more >FINALLY! Custom GitHub Actions in Internal Repos
GitHub has finally released a new feature that allows sharing custom GitHub Actions privately only within an organization.
Read more >Sourcetree does not list private GitHub repos
Much to my surprise, I cannot see my private repositories. After some. ... (fill in a valid Access Token) instead shows all public/private...
Read more >Xcode 13.3 supports SPM binary dependency in private ...
First, you cannot use the browser download URL as an HTTP request results in ... binary assets from release in a private GitHub...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I randomly found out the solution just last week. In my case I migrated my repo into an org, which means the
release
app is missing permissions from the org. This link might work for you https://github.com/settings/connections/applications/08bd4d4e3725ce1c0465https://github.com/zeit/release/issues/131
@joaolavoier-luizalabs nope. It still doesn’t work for private repositories. I don’t know if release needs a special github token to work with private repositories. Haven’t got any help from any team member here too. So no idea.