From cdad6b84ff2f4df83022f5ae17af951c3d86da0a Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Mon, 14 Apr 2025 16:58:47 +0200 Subject: [PATCH] chore(ci): improve error handling and push only ref --- .SRCINFO | 2 +- .gitea/workflows/sync.yaml | 6 ++++-- PKGBUILD | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 0699468..2f80c48 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = mint-backgrounds pkgdesc = The backgrounds of Linux Mint pkgver = 1.8.0 - pkgrel = 1 + pkgrel = 2 arch = any license = Various depends = mint-backgrounds-helena diff --git a/.gitea/workflows/sync.yaml b/.gitea/workflows/sync.yaml index f56b002..d18cad9 100644 --- a/.gitea/workflows/sync.yaml +++ b/.gitea/workflows/sync.yaml @@ -15,9 +15,11 @@ jobs: - ubuntu-latest steps: - uses: actions/checkout@v4.2.2 + with: + fetch-depth: 0 - name: Configure SSH client run: | - mkdir ~/.ssh + mkdir ~/.ssh || true chmod 0700 ~/.ssh echo "${AUR_SSH_KEY}" | base64 --decode > ~/.ssh/id @@ -30,7 +32,7 @@ jobs: EOF - name: Push run: | - git push ssh://aur@aur.archlinux.org/mint-backgrounds.git + git push ssh://aur@aur.archlinux.org/mint-backgrounds.git 'refs/heads/master' - name: Remove SSH client configuration run: | rm -rf ~/.ssh \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD index 3db02e7..5148492 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=mint-backgrounds pkgver=1.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="The backgrounds of Linux Mint" license=('Various') arch=('any')