Skip to content

Commit

Permalink
Allow processing Git packages in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed May 29, 2024
1 parent c70984b commit 28097c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]]
Expand Down

0 comments on commit 28097c2

Please sign in to comment.