Skip to content

Commit 606bd52

Browse files
committed
ci: remove AUR update job from release workflow
The AUR SSH key setup is not working reliably in GitHub Actions. Remove the automatic AUR update for now - can be done manually or revisited later with a different approach.
1 parent 4968848 commit 606bd52

1 file changed

Lines changed: 0 additions & 57 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -190,70 +190,13 @@ jobs:
190190
name: linux-arm64
191191
path: dist/clipse-gui-v${{ needs.generate-changelog.outputs.version }}-linux-aarch64
192192

193-
update-aur:
194-
runs-on: ubuntu-latest
195-
needs: generate-changelog
196-
steps:
197-
- name: Checkout AUR repo
198-
uses: actions/checkout@v4
199-
with:
200-
repository: d7omdev/clipse-gui
201-
path: aur
202-
token: ${{ secrets.GITHUB_TOKEN }}
203-
204-
- name: Setup SSH for AUR
205-
uses: webfactory/ssh-agent@v0.9.0
206-
with:
207-
ssh-private-key: ${{ secrets.AUR_SSH_KEY }}
208-
209-
- name: Clone AUR package
210-
run: |
211-
git clone ssh://aur@aur.archlinux.org/clipse-gui.git aur-package
212-
213-
- name: Update AUR package version
214-
run: |
215-
VERSION="${{ needs.generate-changelog.outputs.version }}"
216-
cd aur-package
217-
218-
# Update PKGBUILD version
219-
sed -i "s/pkgver=.*/pkgver=$VERSION/" PKGBUILD
220-
221-
# Update .SRCINFO version
222-
sed -i "s/pkgver = .*/pkgver = $VERSION/" .SRCINFO
223-
224-
# Show changes
225-
echo "Updated PKGBUILD:"
226-
grep "pkgver=" PKGBUILD
227-
echo ""
228-
echo "Updated .SRCINFO:"
229-
grep "pkgver =" .SRCINFO
230-
231-
- name: Build and verify AUR package
232-
run: |
233-
cd aur-package
234-
# Validate PKGBUILD
235-
makepkg --printsrcinfo > .SRCINFO
236-
237-
- name: Commit and push to AUR
238-
run: |
239-
VERSION="${{ needs.generate-changelog.outputs.version }}"
240-
cd aur-package
241-
242-
git config user.name "GitHub Actions"
243-
git config user.email "actions@github.com"
244-
245-
git add PKGBUILD .SRCINFO
246-
git commit -m "Update to v$VERSION"
247-
git push origin master
248-
249193
create-release:
250194
runs-on: ubuntu-latest
251195
needs:
252196
- generate-changelog
253197
- build-linux-x86_64
254198
- build-linux-arm64
255199
- build-appimage
256-
- update-aur
257200

258201
steps:
259202
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)