[{"id":34948,"web_url":"https://patchwork.libcamera.org/comment/34948/","msgid":"<175302519005.505382.1786927767354201882@ping.linuxembedded.co.uk>","date":"2025-07-20T15:26:30","subject":"Re: [PATCH v5 2/2] utils: update 'version' in package.xml on release","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting Christian Rauch (2025-07-20 12:28:22)\n> Synchronise the version string in the package.xml (tag 'version') with the\n> tagged version on release by string replacement.\n> \n> Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de>\n\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n> ---\n>  utils/release.sh | 5 +++--\n>  1 file changed, 3 insertions(+), 2 deletions(-)\n> \n> diff --git a/utils/release.sh b/utils/release.sh\n> index 8cc85859b..f90322e00 100755\n> --- a/utils/release.sh\n> +++ b/utils/release.sh\n> @@ -36,11 +36,12 @@ echo \"Bumping $bump\"\n>  echo \"  Existing version is: $version\"\n>  echo \"  New version is : $new_version\"\n>  \n> -# Patch in the version to our meson.build\n> +# Patch in the version to our meson.build and package.xml\n>  sed -i -E \"s/ version : '.*',/ version : '$new_version',/\" meson.build\n> +sed -i -E \"s/<version>.*<\\/version>/<version>$new_version<\\/version>/\" package.xml\n>  \n>  # Commit the update\n> -git commit meson.build -esm \"libcamera v$new_version\"\n> +git commit meson.build package.xml -esm \"libcamera v$new_version\"\n>  \n>  # Create a tag from that commit\n>  git show -s --format=%B | git tag \"v$new_version\" -s -F -\n> -- \n> 2.43.0\n>","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 2D268BDCC1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 20 Jul 2025 15:26:35 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E39EB68FBC;\n\tSun, 20 Jul 2025 17:26:34 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EF7C568F98\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 20 Jul 2025 17:26:32 +0200 (CEST)","from pendragon.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id BE179655C;\n\tSun, 20 Jul 2025 17:25:56 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"LXcM4rsE\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1753025156;\n\tbh=t4EHxCJVuiK8hUplxhCmao5Y/iffdJstOgt4zN/GwvA=;\n\th=In-Reply-To:References:Subject:From:Cc:To:Date:From;\n\tb=LXcM4rsEzSD6+wRiYZHBdnIT2GByixLDG9Okb98MQSxHEjsgwDERi1y4arWg5BTBr\n\tm3aLsLK0K9W281dS6Mzss3AYojtn0GAe1/OA8ihvoxfBzvMHq1cEkkmF1FhTh79kUP\n\tYIw6ll3neEr4/wj4btLcssaO19d0MbJL34wLeiak=","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<20250720112822.48250-3-Rauch.Christian@gmx.de>","References":"<20250720112822.48250-1-Rauch.Christian@gmx.de>\n\t<20250720112822.48250-3-Rauch.Christian@gmx.de>","Subject":"Re: [PATCH v5 2/2] utils: update 'version' in package.xml on release","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"Christian Rauch <Rauch.Christian@gmx.de>","To":"Christian Rauch <Rauch.Christian@gmx.de>,\n\tlibcamera-devel@lists.libcamera.org","Date":"Sun, 20 Jul 2025 16:26:30 +0100","Message-ID":"<175302519005.505382.1786927767354201882@ping.linuxembedded.co.uk>","User-Agent":"alot/0.9.1","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]