Skip to content

v2.2.3: minor hotfix #16

v2.2.3: minor hotfix

v2.2.3: minor hotfix #16

Workflow file for this run

name: Publish to AUR
on:
workflow_dispatch:
release:
types: [published]
permissions:
contents: read
jobs:
deploy_aur:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v3
- name: Use proper version in PKGBUILD
run: >-
sed -i "s/pkgver=VERSION/pkgver=$(cat package.json | grep -E '"version": "[0-9\.]+"' -o | grep -E "[0-9\.]+" -o)/" ./pkg/PKGBUILD
- name: Publish AUR package
uses: KSXGitHub/[email protected]
with:
pkgname: hhd-ui
pkgbuild: ./pkg/PKGBUILD
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: update to '${{ github.event.release.name }}'
allow_empty_commits: false
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519
updpkgsums: true
# assets: >-
# ./aur/hhd-ui.desktop
# ./aur/hhd-ui.sh