commit - 991f0c4041e63d6f0dab080b4d977a63cd230ab2
commit + f8922f66df0a859909cd8cbbab47888484cd7472
blob - 47fa2440bf33ee2aaeb5666989e980ead4619543
blob + a394b238427aae690c7afae614a4e0e6b9de122d
--- regress/gotd/email_notification.sh
+++ regress/gotd/email_notification.sh
local commit_id=`git_show_head $testroot/repo-clone`
local tagger_time=`git_show_tagger_time $testroot/repo-clone 1.0`
local tag_id=`got ref -r $testroot/repo-clone -l \
- | grep "^refs/tags/$tag" | tr -d ' ' | cut -d: -f2`
+ | grep "^refs/tags/1.0" | tr -d ' ' | cut -d: -f2`
local short_tag_id=`trim_obj_id 12 $tag_id`
(printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
got tag -r $testroot/repo-clone -m "new tag" 1.0 > /dev/null
local tagger_time=`git_show_tagger_time $testroot/repo-clone 1.0`
local tag_id=`got ref -r $testroot/repo-clone -l \
- | grep "^refs/tags/$tag" | tr -d ' ' | cut -d: -f2`
+ | grep "^refs/tags/1.0" | tr -d ' ' | cut -d: -f2`
local short_tag_id=`trim_obj_id 12 $tag_id`
(printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \