Skip to content

Commit

Permalink
fix aur publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
GameTec-live committed Aug 30, 2023
1 parent 3702735 commit 38dc196
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/publish-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,19 +193,25 @@
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.AUR_KEY }}

- name: configure ssh
run: |
mkdir -p ~/.ssh
ssh-keyscan -t rsa aur.archlinux.org >> ~/.ssh/known_hosts
echo -e "Host aur.archlinux.org\n\tStrictHostKeyChecking no\n\tUser aur" >> ~/.ssh/config
- name: configure git
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- run: mv release-PKGBUILD PKGBUILD
- run: cp ../release-PKGBUILD PKGBUILD
working-directory: "./chameleonultragui/"
- run: cp ../release-.SRCINFO .SRCINFO
working-directory: "./chameleonultragui/"
- name: Update pakagerel in PKGBUILD
run: sed -i "s/pkgrel=.*/pkgrel=${{ github.run_number }}/" PKGBUILD
working-directory: "./chameleonultragui/"
- name: Update pkgrel in .SRCINFO
run: sed -i "s/pkgrel = .*/pkgrel = ${{ github.run_number }}/" .SRCINFO
working-directory: "./chameleonultragui/"
- name: Arch Linux update package
uses: hapakaien/[email protected]
with:
path: ./chameleonultragui/PKGBUILD
pkgrel: ${{ github.run_number }}
srcinfo: true
- name: clone aur
run: git -c init.defaultbranch=master clone ssh://[email protected]/chameleonultragui.git
working-directory: "./chameleonultragui/"
Expand Down
18 changes: 18 additions & 0 deletions release-.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
pkgbase = chameleonultragui
pkgdesc = PKGBUILD for the Chameleon Ultra GUI
pkgver = 0.0.1
pkgrel = 1
url = https://github.com/GameTec-live/ChameleonUltraGUI
arch = x86_64
makedepends = flutter
makedepends = clang
makedepends = cmake
makedepends = ninja
makedepends = pkgconf
makedepends = xz
depends = gtk3
depends = zenity
source = git+https://github.com/GameTec-live/ChameleonUltraGUI.git#branch=main
sha256sums = SKIP

pkgname = chameleonultragui

0 comments on commit 38dc196

Please sign in to comment.