From 4c1d9e53d1050a065198d150f364ab460aa4be2d Mon Sep 17 00:00:00 2001 From: Sean Doran Date: Fri, 27 Feb 2026 21:43:38 -0500 Subject: [PATCH] fix: sync AUR workflow .SRCINFO with repo; bump to 2.0.2 The workflow was generating a hardcoded .SRCINFO that didn't include python-fastapi or uvicorn, overwriting the correct file on every release. Now it patches version/checksum in the existing .SRCINFO. --- .SRCINFO | 4 ++-- .github/workflows/publish-aur.yml | 30 +++++------------------------- PKGBUILD | 2 +- pyproject.toml | 2 +- 4 files changed, 9 insertions(+), 29 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index bd15b50..83c70a8 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = turn-up-arch pkgdesc = USB serial knob/button mixer daemon for PipeWire/PulseAudio on Linux - pkgver = 2.0.1 + pkgver = 2.0.2 pkgrel = 1 url = https://github.com/sean351/turn-up-arch arch = any @@ -18,7 +18,7 @@ pkgbase = turn-up-arch depends = playerctl optdepends = pulseaudio: alternative to pipewire-pulse install = turnupd.install - source = turn-up-arch-2.0.1.tar.gz::https://github.com/sean351/turn-up-arch/archive/refs/tags/v2.0.1.tar.gz + source = turn-up-arch-2.0.2.tar.gz::https://github.com/sean351/turn-up-arch/archive/refs/tags/v2.0.2.tar.gz sha256sums = SKIP pkgname = turn-up-arch diff --git a/.github/workflows/publish-aur.yml b/.github/workflows/publish-aur.yml index 90b0b8f..15c32f5 100644 --- a/.github/workflows/publish-aur.yml +++ b/.github/workflows/publish-aur.yml @@ -32,35 +32,15 @@ jobs: sed -i "s/^pkgrel=.*/pkgrel=1/" PKGBUILD sed -i "s/^sha256sums=.*/sha256sums=('${SHA}')/" PKGBUILD - - name: Generate .SRCINFO + - name: Update .SRCINFO version and checksum run: | VERSION="${{ steps.version.outputs.version }}" SHA="${{ steps.sha256.outputs.sha256 }}" PKGNAME="${{ github.event.repository.name }}" - cat > .SRCINFO < # AUR updates are automated via GitHub Actions on version tag push pkgname=turn-up-arch -pkgver=2.0.1 +pkgver=2.0.2 pkgrel=1 pkgdesc="USB serial knob/button mixer daemon for PipeWire/PulseAudio on Linux" arch=('any') diff --git a/pyproject.toml b/pyproject.toml index a8c7c83..bea90d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "turnup" -version = "2.0.1" +version = "2.0.2" description = "USB serial knob/button mixer daemon for PipeWire/PulseAudio on Linux" readme = "README.md" license = { text = "MIT" }