-
Notifications
You must be signed in to change notification settings - Fork 128
repo_tag: able to create annotated tag #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for the PR! Looks like the CI is not passing :) |
Good catch by the CI, specifying no committer for annotated tags fails the command.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the follow up!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
cmd := NewCommand("tag") | ||
if opt.Annotated { | ||
cmd.AddArgs("-a", name) | ||
cmd.AddArgs("--message", opt.Message) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised this actually works without error.
https://github.com/gogs/git-module/releases/tag/v1.4.0 has been tagged for this merge. |
No description provided.