Skip to content
Snippets Groups Projects
Commit b8409429 authored by Lucas De Marchi's avatar Lucas De Marchi
Browse files

dim: tag once


There's no need to tag once with the template message and another time
with the final message. Just tag it once and avoid accidentally pushing
the tag with a template message.

Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
parent a9eb1ac8
No related branches found
No related tags found
1 merge request!44dim: prep pull request from existing tag
......@@ -2234,8 +2234,6 @@ function tag_branch
exit 1
fi
tag_summary $branch | $DRY git tag -F- $tag "$branch@{upstream}"
if [ "$DIM_GPG_KEYID" == "git" ]; then
key_arg="-s"
elif [ -n "$DIM_GPG_KEYID" ]; then
......@@ -2244,7 +2242,7 @@ function tag_branch
key_arg="-a"
fi
$DRY git tag $key_arg -f $tag
tag_summary $branch | $DRY git tag -e -F- $key_arg $tag "$branch@{upstream}"
if [ -n "$DRY" ]; then
tag=$(git rev-parse "$branch@{upstream}"):refs/tags/$tag
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment