phase1: satisfy getver.sh requirements v6
authorThibaut VARÈNE <hacks@slashdirt.org>
Tue, 23 May 2023 18:12:09 +0000 (20:12 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 23 May 2023 19:34:21 +0000 (21:34 +0200)
commit2b415c0b17e9b96ea2933206a3466b8a52e32b35
tree4009d29bf25f22ddc34c56bf6036c51ee35b37c9
parent90af3d7ad4a72aab90e2b3bca853a91cf199a753
phase1: satisfy getver.sh requirements

scripts/getver.sh requires upstream branch tracking to correctly compute
revision number. Buildbot Git() step does not set branch tracking as it
checks out individual commits and then reset the target branch to it, so
in order for getver.sh to work, this workaround forcefully sets the
upstream branch.

This fixes malformed version code in filenames as observed on
openwrt-23.05:

r23001+3-38c150612c
instead of:
r23004-7f0db09513

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase1/master.cfg