Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete files and GitHub action job related to releasing the AUR packages #604

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 0 additions & 65 deletions .github/workflows/native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -537,71 +537,6 @@ jobs:
package_cloud push filips/FirefoxPWA/any/any artifacts/*.deb
package_cloud push filips/FirefoxPWA/rpm_any/rpm_any artifacts/*.rpm

release-aur:
name: Release on Arch User Repository
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
container: archlinux

permissions:
contents: read

needs:
- release-github

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@a97f56a8425a7a7f3b8c58607f769c69b089cadb
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: ${{ vars.AUR_USERNAME }}
commit_email: ${{ vars.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
ssh_keyscan_types: rsa,ecdsa,ed25519

- name: Release firefox-pwa-bin package
uses: KSXGitHub/github-actions-deploy-aur@a97f56a8425a7a7f3b8c58607f769c69b089cadb
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: ${{ vars.AUR_USERNAME }}
commit_email: ${{ vars.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
ssh_keyscan_types: rsa,ecdsa,ed25519

release-gentoo:
name: Release on Gentoo GURU
if: startsWith(github.ref, 'refs/tags/v')
Expand Down
5 changes: 0 additions & 5 deletions native/packages/aur/firefox-pwa-bin/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions native/packages/aur/firefox-pwa-bin/LICENSE

This file was deleted.

53 changes: 0 additions & 53 deletions native/packages/aur/firefox-pwa-bin/PKGBUILD

This file was deleted.

5 changes: 0 additions & 5 deletions native/packages/aur/firefox-pwa-bin/package.install

This file was deleted.

5 changes: 0 additions & 5 deletions native/packages/aur/firefox-pwa/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions native/packages/aur/firefox-pwa/LICENSE

This file was deleted.

78 changes: 0 additions & 78 deletions native/packages/aur/firefox-pwa/PKGBUILD

This file was deleted.

5 changes: 0 additions & 5 deletions native/packages/aur/firefox-pwa/package.install

This file was deleted.

Loading