Skip to content

Commit b148d38

Browse files
committed
remove unnecessary check
1 parent 7266d09 commit b148d38

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tools/verify-release/verify-release.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,12 +390,7 @@ mkdir -p "${worktree_dir}"
390390
proc_exec "git checkout failed" git checkout "${git_tag_full}"
391391
)
392392
git_sha_on_tag="$(cd "${worktree_dir}" ; git rev-parse HEAD)"
393-
git_sha_from_tag="$(cd "${worktree_dir}" ; git rev-parse "${git_tag_full}")"
394-
log_info "Git commit from tag '${git_tag_full}': ${git_sha_from_tag}"
395393
log_info "Git commit on tag '${git_tag_full}': ${git_sha_on_tag}"
396-
if [[ "$git_sha_on_tag" != "$git_sha_from_tag" ]]; then
397-
log_fatal "Git SHA ${git_sha_from_tag} on ${git_tag_full} is different from the current SHA ${git_sha_on_tag}"
398-
fi
399394
if [[ "$git_sha_on_tag" != "$git_sha" ]]; then
400395
log_fatal "Expected Git SHA ${git_sha} is different from the current SHA ${git_sha_on_tag}"
401396
fi

0 commit comments

Comments
 (0)