[gnome-disk-utility] release helper: pull branch more specific
- From: Kai Lüke <kailueke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] release helper: pull branch more specific
- Date: Fri, 18 Mar 2022 20:25:04 +0000 (UTC)
commit 645b3a5b214b10562369dad65b05fd237a2f25c8
Author: Kai Lüke <kailueke riseup net>
Date: Fri Mar 18 21:24:38 2022 +0100
release helper: pull branch more specific
release | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/release b/release
index 5c6d5255..347594ff 100755
--- a/release
+++ b/release
@@ -14,8 +14,6 @@ if [ "${ARG}" = "" ] || [ "${ARG}" = "-h" ] || [ "${ARG}" = "--help" ]; then
exit 1
fi
-git pull
-
if ! echo "${ARG}" | grep "\." -q; then
echo "No minor version given"
exit 1
@@ -33,6 +31,9 @@ if [ "${BRANCH}" != "master" ] && [ "${BRANCH}" != "gnome-${MAJOR}" ]; then
fi
REMOTE=$(git remote -v | grep "ssh://git gitlab gnome org" | grep -m 1 push | cut -f 1)
+
+git pull "${REMOTE}" "${BRANCH}"
+
LAST_TAG=$(git describe --tags --abbrev=0)
if [ "${LAST_TAG}" = "${ARG}" ]; then
echo "Last tag is ${ARG}"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]