summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2017-05-16 18:44:43 +0200
committerYvan Roux <yvan.roux@linaro.org>2017-05-16 18:44:43 +0200
commit749cfb951433259f35b149aab85204496ed74d4b (patch)
tree898605a5542def2936c85b780eaa964ebb4f2be2
parentf8620ab8469019126b94d51d410ba894dba9d37e (diff)
tcwg-release-tag: Remove unused function.
Change-Id: If03d605ef551ee25deb0fa3ca746573062979fcf
-rwxr-xr-xtcwg-release-tag.sh37
1 files changed, 0 insertions, 37 deletions
diff --git a/tcwg-release-tag.sh b/tcwg-release-tag.sh
index 6fbea84..b39dfc3 100755
--- a/tcwg-release-tag.sh
+++ b/tcwg-release-tag.sh
@@ -406,43 +406,6 @@ info() {
print_info "${italic}${bold}After the build completes push branches and tags to the Linaro git repo:"
}
-# Called at the beginning and the end to give pertinent information to the user.
-hint() {
- local pushurl=$(git config --get remote.${REMOTE}.pushurl)
- if [ x"${pushurl}" = x ]; then
- print_info "Couldn't determine viable url from remote \"${REMOTE}\""
- fi
-
- print_info "${bold}+--------------------------------------------------------------------------------"
- print_info "${bold}| ${italic}NOTE:${NC}${italic} The Linaro GCC git mirror only allows pushes through gerrit"
- print_info "${bold}| The pushurl for remote \"${REMOTE}\" is:"
- print_info "${bold}|${NC} ${red}${pushurl}"
- print_info "${bold}| For gerrit user:"
- print_info "${bold}|${NC} ${red}$(git config --get remote.${REMOTE}.username)"
- print_info "${bold}+--------------------------------------------------------------------------------"
- print_info "${bold}+ Push local tag ${red}${release_tag}${NC}${bold} to remote \"${REMOTE}\" with:"
- print_info "${bold}|${NC} git push ${REMOTE} ${release_tag}"
- print_info "${bold}+ Push local branch ${red}${local_branch}${NC}${bold} to remote \"${REMOTE}\" with:"
- print_info "${bold}|${NC} git push ${REMOTE} ${local_branch}:${remote_mode_branch/remotes\/${REMOTE}/refs/heads}"
-
- if [[ "${SNAPSHOT:+set}" = "set" && "${SPIN:+set}" != "set" ]]; then
- print_info "${bold}+ Push local integration branch ${red}${local_int_branch}${NC}${bold} to remote \"${REMOTE}\" with:"
- print_info "${bold}|${NC} git push ${REMOTE} ${local_int_branch}:${remote_int_branch/remotes\/${REMOTE}/refs/heads}"
- print_info "${bold}+--------------------------------------------------------------------------------"
- print_info ""
- print_info "${italic}${bold}Note: ${NC}${italic}Someone with FSF write permission (and a configured fsf remote) will need"
- print_info "${italic} to push the remote_int_branch changes to the FSF linaro/gcc-${vstring%.*}-branch:"
- print_info "${NC} git push FSF ${remote_int_branch}:linaro/gcc-${vstring%.*}-branch"
- else
- print_info "${bold}+--------------------------------------------------------------------------------"
- fi
- print_info ""
- print_info "${bold}The ${SNAPSHOT:+snapshot}${RELEASE:+release}${CANDIDATE:+release candidate} tarball is in:"
- print_info " ${REL_DIR}/gcc-linaro-${rname}.tar.xz"
- print_info "${bold}The ${SNAPSHOT:+snapshot}${RELEASE:+release}${CANDIDATE:+release candidate} tarball signature file is in:"
- print_info " ${REL_DIR}/gcc-linaro-${rname}.tar.xz.asc"
-}
-
# ==============================================================================
# Settings
# ==============================================================================