This commit is contained in:
Gizzy
2024-12-20 10:59:57 +00:00
parent 3e86319bb8
commit 3a0941c67c
2 changed files with 6 additions and 2 deletions

View File

@@ -178,6 +178,9 @@ jobs:
dist/macos/*.dmg
dist/combined.yml
- name: Set version output
run: echo "releasever=${{ steps.create_release.outputs.tag_name }}" >> $GITHUB_ENV
aur:
name: Publish to AUR
runs-on: ubuntu-latest
@@ -195,10 +198,11 @@ jobs:
name: checksums
path: ./sha256sum.txt
- name: Extract checksum from sha256sum.txt
- name: Extract checksum from sha256sum.txt and change build version
run: |
new_checksum=$(awk 'NR==1 { print $1 }' ./sha256sum.txt)
sed -i "s|sha256sums=('SKIP' 'SKIP')|sha256sums=('$new_checksum' 'SKIP')|" ./build/PKGBUILD
sed -i "s|pkgver=\"\"|pkgver=\"$releasever\"|" ./build/PKGBUILD
- name: Publish AUR package
uses: KSXGitHub/github-actions-deploy-aur@3.0.1

View File

@@ -2,7 +2,7 @@
# Maintainer: oxmc contact@oxmc.is-a.dev
pkgname=bskydesktop
pkgver=$(curl -s https://api.github.com/repos/oxmc/bsky-desktop/releases/latest | jq -r .tag_name | sed 's/v//')
pkgver=""
pkgrel=1
pkgdesc="Bluesky Desktop - A decentralized social networking client distributed as an AppImage"
arch=('x86_64' 'aarch64')