scripts: fix revision calculation using new "main" branch
authorMarius Dinu <[email protected]>
Tue, 21 May 2024 15:08:33 +0000 (18:08 +0300)
committerChristian Marangi <[email protected]>
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/15538
Signed-off-by: Christian Marangi <[email protected]>
scripts/getver.sh