From ae0378a57fd2c7e53e5b1b7b63ecf435fd01d42d Mon Sep 17 00:00:00 2001 From: Eberhard Beilharz Date: Thu, 28 Jul 2022 09:43:25 +0200 Subject: [PATCH] chore(linux): Add code comment Follow-up of PR #6997. --- linux/scripts/upload-to-debian.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/scripts/upload-to-debian.sh b/linux/scripts/upload-to-debian.sh index 73bdcd5d6e..4e45a5eeb4 100755 --- a/linux/scripts/upload-to-debian.sh +++ b/linux/scripts/upload-to-debian.sh @@ -63,6 +63,7 @@ echo_heading "Fetching latest changes" git fetch -p origin stable_branch=$(git branch -r | grep origin/stable- | sort | tail -1) stable_branch=${stable_branch##* } +# Checkout stable branch so that `scripts/debian.sh` picks up correct version git checkout ${stable_branch#origin/} cd "$KEYMAN_ROOT/linux" @@ -76,6 +77,7 @@ $NOOP dput mentors *.changes cd .. echo_heading "Updating changelog" +# base changelog branch on remote stable branch git checkout -B chore/linux/changelog $stable_branch cp debianpackage/keyman-*/debian/changelog debian/ git add debian/changelog