Change in osmo-ci[master]: OBS: latest: remove redundant checkout in build()

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri May 31 14:24:12 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/14257 )

Change subject: OBS: latest: remove redundant checkout in build()
......................................................................

OBS: latest: remove redundant checkout in build()

Don't checkout a specific version in build(), this is already done in
checkout().

Change-Id: I74290968fe25a6311da0de26ff675bbd687ba156
---
M scripts/osmocom-latest-packages.sh
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Harald Welte: Looks good to me, approved; Verified



diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh
index 020efaa..58b4a9f 100755
--- a/scripts/osmocom-latest-packages.sh
+++ b/scripts/osmocom-latest-packages.sh
@@ -66,7 +66,6 @@
   echo "====> Building $project"
   cd "$TOP/$project"
   VER=$(get_last_tag "$project")
-  git checkout -f -B "$VER" "refs/tags/$VER"
   if [ -x ./git-version-gen ]; then
     ./git-version-gen . > .tarball-version 2>/dev/null
     gbp buildpackage -S -uc -us -d --git-ignore-branch "--git-export-dir=$output" \

-- 
To view, visit https://gerrit.osmocom.org/14257
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I74290968fe25a6311da0de26ff675bbd687ba156
Gerrit-Change-Number: 14257
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190531/1f158b02/attachment.html>


More information about the gerrit-log mailing list