failed to create release: API Error Response status_code: 401 message: 401 Unauthorized

Summary

failed to create release

Steps to reproduce

1.In the process of submitting code, manually create a tag to trigger automatic release

Example Project

What is the current bug behavior?

failed to create release

time="2022-03-28T10:13:34+08:00" level=info msg="Creating Release..." cli=release-cli command=create name="Release v1.0.01" project-id=1183 ref=6b526bda0335d0c6820d60c0d82c44a5a81fee4c server-url="https://git.*************.com" tag-name=v1.0.01 version=0.8.0 time="2022-03-28T10:13:34+08:00" level=fatal msg="failed to create release: API Error Response status_code: 401 message: 401 Unauthorized" cli=release-cli version=0.8.0

What is the expected correct behavior?

successed to create release,

Relevant logs and/or screenshots

未命名1648436728 未命名

Output of checks

Possible fixes

~"devops::release" ~"group::release" GitLab Release CLI Category:Release Orchestration

Edited by liuchen