diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2021-02-21 18:42:38 +0100 |
---|---|---|
committer | Baptiste Jonglez <git@bitsofnetworks.org> | 2021-02-21 18:42:38 +0100 |
commit | cb5c93f12ad45f646089be6473c1c70005800020 (patch) | |
tree | 4dd110756088803b2e1ae1f059b0dd667297b32b /LICENSES | |
parent | 1b46554895d3933d4b94f37f6f916908cb9ad763 (diff) | |
download | upstream-cb5c93f12ad45f646089be6473c1c70005800020.tar.gz upstream-cb5c93f12ad45f646089be6473c1c70005800020.tar.bz2 upstream-cb5c93f12ad45f646089be6473c1c70005800020.zip |
scripts: getver.sh: fix version based on stable branch
When building from a local branch based off the "openwrt-21.02" branch,
version computation is wrong, because the number of local commits is
computed against master. As a result, it wrongly counts *all* commits
since the beginning of the openwrt-21.02 branch as local commits.
The fix is to compare to the openwrt-21.02 branch instead, which gives the
expected result.
A similar change had been applied to the openwrt-19.07 branch:
891022918d55 ("scripts: getver.sh: fix version based on stable branch")
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions