From 28097c2c683bd76b47041678b1eaa04a9623f550 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Thu, 30 May 2024 00:38:53 +0200 Subject: [PATCH] Allow processing Git packages in CI --- scripts/update.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/update.sh b/scripts/update.sh index caa0419..8c325bc 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -22,12 +22,12 @@ info 'Updating package version' if [[ "${name}" == *-git ]] then - error 'Git packages must be updated manually' + info 'Skipping version update for Git package' +else + sed --regexp-extended --in-place --expression \ + "s/pkgver=(.+)/pkgver=${version}/g" PKGBUILD fi -sed --regexp-extended --in-place --expression \ - "s/pkgver=(.+)/pkgver=${version}/g" PKGBUILD - info 'Updating checksum and .SRCINFO' if [[ -v CI ]]