R
R
rockwell3232020-09-22 22:40:20
GitHub
rockwell323, 2020-09-22 22:40:20

How to solve the problem when releasing on github?

I'm trying to upload a release to git, I'm using the electron-updater module, the error is that when I inserted this into powershall

[Environment]::SetEnvironmentVariable("GH_TOKEN","<YOUR_TOKEN_HERE>","User")

after inserting my token there, it gives me an error:
Error: GitHub Personal Access Token is not set, neither programmatically, nor using env "GH_TOKEN"

I can’t understand what the problem is, I entered the token!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question