I have been building a benchmarking tool recently with nbdev. I was try to manage releases with nbdev. The command nbdev_release_git
seems to be not working because of the below error.
File "/home/kurianbenoy/mambaforge/lib/python3.10/site-packages/nbdev/release.py", line 117, in release_git
ver = Release(token=token).release()
File "/home/kurianbenoy/mambaforge/lib/python3.10/site-packages/nbdev/release.py", line 57, in __init__
if not token: raise Exception('Failed to find token')
Exception: Failed to find token
I have installed gh and have a token which can clone the repository. During debugging I figured out that nbdev is using ghapi which needs auth token itself instead of SSH key. Is there some additional steps other than setting token with command below to get nbdev_release_git working?
gh auth login --with-token < mytoken.txt