scripts: fix revision calculation using new "main" branch
authorMarius Dinu <m95d+git@psihoexpert.ro>
Tue, 21 May 2024 15:08:33 +0000 (18:08 +0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 21 May 2024 15:53:33 +0000 (17:53 +0200)
commit9db53fb6aa261c4aa73da7d1ec6cf2d3b06b8fb8
treeaa75c4176f1efbbb51744d88890d545ae76d6e12
parentcd9241db230e43387962cf13b4e8bbdc61f1581c
scripts: fix revision calculation using new "main" branch

Fix revision calculation when local branch is rebased on new "main" branch
instead of "master".

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
Link: https://github.com/openwrt/openwrt/pull/15538
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
scripts/getver.sh