<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9443">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Revert "osmocom-latest-packages: Also accept "v" in front of version tags"<br><br>This reverts commit 5b2bb86e8ada837732f06bb4a77779cdbca73496.<br><br>While it was intended to enable automatic "latest" builds from rtl-sdr,<br>it breaks builds e.g. of libosmo-abis, where we have both (new) tags<br>without  'v' and old tags with 'v', and now the older 'v' tags win<br>due to lexicographical sorting :(<br><br>Change-Id: I1c8d2ab18e389a8c2c41082d997f101d72c3acc0<br>---<br>M scripts/osmocom-latest-packages.sh<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/43/9443/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh</span><br><span>index 6f60ef8..e8d61a3 100755</span><br><span>--- a/scripts/osmocom-latest-packages.sh</span><br><span>+++ b/scripts/osmocom-latest-packages.sh</span><br><span>@@ -32,7 +32,7 @@</span><br><span>   [ -d "$1" ] || git clone "git://git.osmocom.org/$1"</span><br><span>   cd "$1"</span><br><span>   git fetch</span><br><span style="color: hsl(0, 100%, 40%);">-  VER=$(git tag -l --sort=v:refname | grep "^v\?[0-9]*.[0-9]*.[0-9]*$" | tail -n 1)</span><br><span style="color: hsl(120, 100%, 40%);">+  VER=$(git tag -l --sort=v:refname | grep "^[0-9]*.[0-9]*.[0-9]*$" | tail -n 1)</span><br><span>   git checkout -f -B "$VER" "refs/tags/$VER"</span><br><span>   gbp buildpackage -d -S -uc -us "--git-export-dir=$output" "--git-debian-branch=$VER"</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9443">change 9443</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/9443"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ci </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I1c8d2ab18e389a8c2c41082d997f101d72c3acc0 </div>
<div style="display:none"> Gerrit-Change-Number: 9443 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>