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 ]]