You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for the noise 😢 , I'm just trying to get chan set up in GitHub Actions with a project I'm managing and I'm running into small issues.
Current behavior
λ unset GITHUB_TOKEN
λ chan gh-release 0.1.3
[chan] [gh-release] › ℹ info Uploading GitHub release...
λ export GITHUB_TOKEN=<REDACTED>
λ chan gh-release 0.1.3
[chan] [gh-release] › ℹ info Uploading GitHub release...
[chan] [gh-release] › ✖ error TypeError: Cannot read property 'createRelease' of undefined
at createGithubRelease (file:///Users/mbianchi/workspace/dev/dotfiles/config/yarn/global/node_modules/@geut/chan/src/commands/gh-release.js:84:26)
at Object.handler (file:///Users/mbianchi/workspace/dev/dotfiles/config/yarn/global/node_modules/@geut/chan/src/commands/gh-release.js:55:9)
The usage of GITHUB_TOKEN is causing an error of the createRelease command, though I can't figure out why. The usage in gh-release looks correct, but maybe something isn't set properly in the data object.
The text was updated successfully, but these errors were encountered:
On second look at this, it looks like the call needs to be github.rest.repos.createRelease. I'm not sure if something has changed since this was originally written
Sorry for the noise 😢 , I'm just trying to get
chan
set up in GitHub Actions with a project I'm managing and I'm running into small issues.Current behavior
The usage of
GITHUB_TOKEN
is causing an error of the createRelease command, though I can't figure out why. The usage in gh-release looks correct, but maybe something isn't set properly in thedata
object.The text was updated successfully, but these errors were encountered: