This repository was archived by the owner on Jun 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,12 @@ _finish_from_develop() {
134
134
opts=" $opts -m '$FLAGS_message '"
135
135
fi
136
136
[ " $FLAGS_messagefile " != " " ] && opts=" $opts -F '$FLAGS_messagefile '"
137
+ if noflag edit; then
138
+ if [ " $FLAGS_message " = " " ] && [ " $FLAGS_messagefile " = " " ]; then
139
+ # in order to fix annotated tag without message
140
+ opts=" $opts -m $VERSION_PREFIX$TAGNAME "
141
+ fi
142
+ fi
137
143
eval git_do tag $opts " $VERSION_PREFIX$TAGNAME " || die " Tagging failed. Please run finish again to retry."
138
144
fi
139
145
fi
@@ -330,6 +336,12 @@ _finish_base() {
330
336
opts=" $opts -m '$FLAGS_message '"
331
337
fi
332
338
[ " $FLAGS_messagefile " != " " ] && opts=" $opts -F '$FLAGS_messagefile '"
339
+ if noflag edit; then
340
+ if [ " $FLAGS_message " = " " ] && [ " $FLAGS_messagefile " = " " ]; then
341
+ # in order to fix annotated tag without message
342
+ opts=" $opts -m $VERSION_PREFIX$TAGNAME "
343
+ fi
344
+ fi
333
345
eval git_do tag $opts " $VERSION_PREFIX$TAGNAME " || die " Tagging failed. Please run finish again to retry."
334
346
fi
335
347
fi
You can’t perform that action at this time.
0 commit comments