Skip to content

Commit

Permalink
chore(CI): add steps to update main AUR package
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowApex committed Oct 1, 2024
1 parent 58c1cc1 commit 4d56404
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ jobs:
outputs:
should_publish: ${{ steps.status.outputs.was_released }}


publish-to-copr:
name: 🟤 Publish to COPR
needs: release
Expand All @@ -71,7 +70,6 @@ jobs:
- name: Trigger COPR Build
run: curl -X POST ${{ secrets.COPR_WEBHOOK_URL }}


publish-to-aur:
name: 🐧 Publish to AUR
needs: release
Expand Down Expand Up @@ -127,3 +125,22 @@ jobs:
git commit -m "Update to $(grep '^pkgver=' PKGBUILD | cut -d'=' -f2)"
git push origin master
- name: Checkout AUR
run: git clone ssh://[email protected]/inputplumber.git

- name: Copy Makefile from git package
run: cp inputplumber-git/Makefile inputplumber/Makefile

- name: Build package
working-directory: inputplumber
run: make in-docker

- name: Commit and publish package
shell: bash
working-directory: inputplumber
run: |
git config user.name "github-actions[bot]"
git config user.email "shadowblip+github-actions[bot]@users.noreply.github.com"
git add .SRCINFO PKGBUILD
git commit -m "Update to $(grep '^pkgver=' PKGBUILD | cut -d'=' -f2)"
git push origin master

0 comments on commit 4d56404

Please sign in to comment.