<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9437">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmocom-latest-packages: Also accept "v" in front of version tags<br><br>Some projects (notably rtl-sdr) use "v" in front of their version<br>tags in the git history.  Let's make sure we also recognize those.<br><br>Change-Id: I20f9896cc7844a6ddec7ba63bc9a77f548082e2a<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/37/9437/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 e37c2e0..15fbc6c 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 "^[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 "^v\?[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/9437">change 9437</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/9437"/><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: I20f9896cc7844a6ddec7ba63bc9a77f548082e2a </div>
<div style="display:none"> Gerrit-Change-Number: 9437 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>