<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/22533">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">OBS nightly: don't try to use UNKNOWN as version<br><br>If the repository doesn't have a git tag yet, git-version-gen will set<br>the version to UNKNOWN. The debian package build tools will choke on<br>that, so fall back to using the version from debian/changelog.<br><br>Related: OS#4992 (osmo-gbproxy.git doesn't have a tag just yet)<br>Change-Id: I43c32f73bdfd715db5afdeec3bd8026d3c1fd8eb<br>---<br>M scripts/osmocom-nightly-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/33/22533/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh</span><br><span>index a6340d1..44f4a6e 100755</span><br><span>--- a/scripts/osmocom-nightly-packages.sh</span><br><span>+++ b/scripts/osmocom-nightly-packages.sh</span><br><span>@@ -70,7 +70,7 @@</span><br><span>   version=$(echo "$version" | sed  's/-/./g' )</span><br><span> </span><br><span>   # deb version</span><br><span style="color: hsl(0, 100%, 40%);">-  if [ -z "$version" ] ; then</span><br><span style="color: hsl(120, 100%, 40%);">+  if [ -z "$version" ] || [ "$version" = "UNKNOWN" ]; then</span><br><span>     version=$(head -1 debian/changelog | cut -d ' ' -f 2 | sed 's,(,,'  | sed 's,),,')</span><br><span>     version="$version.$DT"</span><br><span>   fi</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/22533">change 22533</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/c/osmo-ci/+/22533"/><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-Change-Id: I43c32f73bdfd715db5afdeec3bd8026d3c1fd8eb </div>
<div style="display:none"> Gerrit-Change-Number: 22533 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>