From 418b7b8bc2023313f32fbd0de6dc56bb03bda69f Mon Sep 17 00:00:00 2001 From: gabriel klawitter Date: Mon, 16 Mar 2020 16:58:07 +0530 Subject: [PATCH] ci: check_runtime: fetch release tag (#5259) --- substrate/.maintain/gitlab/check_runtime.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/substrate/.maintain/gitlab/check_runtime.sh b/substrate/.maintain/gitlab/check_runtime.sh index c7ce7d5f28..2355461cb7 100755 --- a/substrate/.maintain/gitlab/check_runtime.sh +++ b/substrate/.maintain/gitlab/check_runtime.sh @@ -30,8 +30,9 @@ github_label () { boldprint "latest 10 commits of ${CI_COMMIT_REF_NAME}" git log --graph --oneline --decorate=short -n 10 -boldprint "make sure the master branch is available in shallow clones" +boldprint "make sure the master branch and release tag are available in shallow clones" git fetch --depth=${GIT_DEPTH:-100} origin master +git fetch --depth=${GIT_DEPTH:-100} origin release boldprint "check if the wasm sources changed"