Skip to content

Force run AUR publish to fix missing release #264

Force run AUR publish to fix missing release

Force run AUR publish to fix missing release #264

Workflow file for this run

name: Native CI/CD
on:
- push
defaults:
run:
shell: bash
jobs:
release-aur:
name: Release on Arch User Repository
runs-on: ubuntu-latest
container: archlinux
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install required packages
run: pacman -Syu pacman-contrib pacman namcap sudo --noconfirm --needed
- name: Prepare non-root user
run: chown -R nobody .
- name: Update PKGBUILDs
run: |
echo "::group::Setting the package versions"
VERSION=${GITHUB_REF/refs\/tags\/v}
echo "VERSION=$VERSION" >> $GITHUB_ENV
sed -i "s/pkgver=\$VERSION/pkgver=\"$VERSION\"/g" native/packages/aur/firefox-pwa/PKGBUILD
sed -i "s/pkgver=\$VERSION/pkgver=\"$VERSION\"/g" native/packages/aur/firefox-pwa-bin/PKGBUILD
echo "::endgroup::"
echo "::group::Updating the package checksums"
(cd native/packages/aur/firefox-pwa && sudo -u nobody updpkgsums)
(cd native/packages/aur/firefox-pwa-bin && sudo -u nobody updpkgsums)
echo "::endgroup::"
- name: Verify PKGBUILDs
run: |
# Binary version is skipped because namcap doesn't work with arch-specific sources
(cd native/packages/aur/firefox-pwa && namcap -i PKGBUILD)
- name: Release firefox-pwa package
uses: KSXGitHub/github-actions-deploy-aur@063daf78a56662642bb00049ce78425ff6d0fad7
with:
pkgname: firefox-pwa
pkgbuild: ./native/packages/aur/firefox-pwa/PKGBUILD
assets: ./native/packages/aur/firefox-pwa/**
commit_message: Update to ${{ env.VERSION }}
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519
- name: Release firefox-pwa-bin package
uses: KSXGitHub/github-actions-deploy-aur@063daf78a56662642bb00049ce78425ff6d0fad7
with:
pkgname: firefox-pwa-bin
pkgbuild: ./native/packages/aur/firefox-pwa-bin/PKGBUILD
assets: ./native/packages/aur/firefox-pwa-bin/**
commit_message: Update to ${{ env.VERSION }}
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519