Skip to content

Commit

Permalink
repo-add is in pacman 🤦
Browse files Browse the repository at this point in the history
Signed-off-by: Omansh Krishn <[email protected]>
  • Loading branch information
omansh-krishn committed Apr 9, 2024
1 parent 5224b8e commit 13a4ec6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
BIN=$(curl -s https://api.github.com/repos/materialgram/materialgram-bin/releases/latest | jq -r '.assets[] | .name' | grep zst)
URL=https://github.com/materialgram/materialgram-bin/releases/download/${TAG}/${BIN}
wget $URL
repo-add materialgram.db.tar.gz *zst
curl https://gitlab.archlinux.org/pacman/pacman/-/raw/master/scripts/repo-add.sh > /tmp/repo-add && chmod +x /tmp/repo-add
/tmp/repo-add materialgram.db.tar.gz *zst
git config --global user.email "[email protected]" && git config --global user.name "Omansh Krishn" && git add . && git commit -s -m "materialgram: Update ${{ github.event.client_payload.tagname }}-${{ github.event.client_payload.pkgrel }}"
git push

0 comments on commit 13a4ec6

Please sign in to comment.