-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scripts: fix revision calculation using new "main" branch #15538
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
|
Because the branch may be other than "main", in which case the revision looks like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are missing a signed-off-by though, and the PR description should be in the commit as well.
Right! I always forget that. :-| |
@M95D Off topic but I just use this hook:
Then paste the following into the file:
|
PS: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now
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: openwrt#15538 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
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: openwrt#15538 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Fixes revision calculation when local branch is rebased on "main" instead of "master".
https://forum.openwrt.org/t/release-version-appears-as-r0-26304/198446