Files
grok-bot-bin/.gitea/workflows/update.yml
T
s1d3sw1ped_bot 33e191de2b
Build Arch package / build (push) Failing after 11s
pkgbuild: Add grok-bot-bin from official .deb
Temporary Arch/CachyOS packaging until upstream ships a native package.
Pulls Cursor's amd64 deb by commit from the linux-x64 update feed.
Includes update script and Gitea Actions for bump + makepkg release.
2026-09-02 01:10:40 +00:00

30 lines
905 B
YAML

name: Check for new release
on:
schedule:
- cron: '17 6 * * *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bump PKGBUILD if a new version is out
run: |
set -euo pipefail
sudo apt-get update -qq
sudo apt-get install -y -qq jq curl
before=$(sed -n 's/^pkgver=//p' PKGBUILD)
./scripts/update.sh
after=$(sed -n 's/^pkgver=//p' PKGBUILD)
if [[ "$before" == "$after" ]]; then
echo "No bump"
exit 0
fi
git config user.name 's1d3sw1ped_bot'
git config user.email 's1d3sw1ped_bot@git.s1d3sw1ped.com'
git add PKGBUILD .SRCINFO
git commit -m "pkgbuild: Bump grok-bot-bin to ${after}"
git tag "v${after}"
git push origin "HEAD:${GITHUB_REF_NAME}" "v${after}"