Skip to content

Commit

Permalink
feat: remove v prefix in aur bump
Browse files Browse the repository at this point in the history
  • Loading branch information
pxseu committed Aug 24, 2022
1 parent d28ac62 commit 13db922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -241,7 +241,8 @@ jobs:
curl -fsSL https://github.com/hopinc/hop_cli/archive/refs/tags/${{ needs.draft-release.outputs.tag_name }}.tar.gz -o hop-cli-archive.tar.gz
CHECKSUM=$(sha256sum hop-cli-archive.tar.gz | awk '{ print $1 }')
sed -i 's/pkgver=.*/pkgver=${{ needs.draft-release.outputs.tag_name }}/' PKGBUILD
VERSION=$(echo ${{ needs.draft-release.outputs.tag_name }} | sed 's/v//')
sed -i "s/pkgver=.*/pkgver=$VERSION/" PKGBUILD
sed -i "s/sha256sums=.*/sha256sums=(\"$CHECKSUM\")/" PKGBUILD
makepkg --printsrcinfo > .SRCINFO
Expand Down

0 comments on commit 13db922

Please sign in to comment.