release icon indicating copy to clipboard operation
release copied to clipboard

Use in headless server environment

Open nicholaschiang opened this issue 4 years ago • 1 comments
trafficstars

Is there a way to authenticate release in a headless server environment?

I am SSH-ing into my main development machine which does not have a browser. How can I authenticate and make release work in that server environment so that I can publish GitHub releases for tutorbookapp/tutorbook automatically?

nicholaschiang avatar Jun 03 '21 04:06 nicholaschiang

Looks like all I had to do was enable the (kind of hidden) show-url flag:

$ yarn release -u

And then open the authentication link in a tab on my machine. You should update the docs to specify that, if you're in a headless environment that doesn't support open() calls, you should use the -u flag.

nicholaschiang avatar Jun 03 '21 04:06 nicholaschiang