From 427fde27adef479217220be2e903316603569915 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 18 Apr 2023 01:08:15 +0200 Subject: [PATCH] Remove AUR ci stuff --- .github/workflows/release.yml | 16 ---------------- scripts/ci/aur_bump.sh | 20 -------------------- scripts/ci/install_makepkg.sh | 13 ------------- 3 files changed, 49 deletions(-) delete mode 100755 scripts/ci/aur_bump.sh delete mode 100755 scripts/ci/install_makepkg.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e53c37..459edac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,19 +26,3 @@ jobs: with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} RELEASE: true - - - name: Update AUR package - if: ${{ matrix.os == 'ubuntu-latest' }} - run: | - mkdir -p -m 700 ~/.ssh - echo $SSH_KEY > ~/.ssh/aur - echo $SSH_PUB_KEY > ~/.ssh/aur.pub - chmod 600 ~/.ssh/* - - export GIT_SSH_COMMAND="ssh -i ~/.ssh/aur" - - sudo ./scripts/ci/install_makepkg.sh - ./scripts/ci/aur_bump.sh - env: - SSH_KEY: ${{ secrets.AUR_SSH_KEY }} - SSH_PUB_KEY: ${{ secrets.AUR_SSH_PUB_KEY }} diff --git a/scripts/ci/aur_bump.sh b/scripts/ci/aur_bump.sh deleted file mode 100755 index b18c21b..0000000 --- a/scripts/ci/aur_bump.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -set -e - -VERSION=$(git describe --tags --abbrev=0 | tr -d 'v') -SHASUM=$(sha256sum "dist/VencordDesktop-$VERSION.tar.gz" | awk '{ print $1 }') - -git clone ssh://aur@aur.archlinux.org/vencord-desktop-bin.git aurpkg - -cd aurpkg - -sed -i "s/^pkgver=.*$/pkgver=$VERSION/" PKGBUILD -sed -i "s/^sha256sums=('.*'/sha256sums=('$SHASUM'/" PKGBUILD -makepkg --printsrcinfo > .SRCINFO - -git commit -a -m "Bump version to $VERSION" -git push - -cd .. -rm -rf aurpkg diff --git a/scripts/ci/install_makepkg.sh b/scripts/ci/install_makepkg.sh deleted file mode 100755 index f741fc0..0000000 --- a/scripts/ci/install_makepkg.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -set -e - -for i in \ - "makepkg_6.0.2-3_amd64.deb" \ - "libalpm13_13.0.2-3_amd64.deb" \ - "pacman-package-manager_6.0.2-3_amd64.deb"; do - wget -O/tmp/$i https://fr.archive.ubuntu.com/ubuntu/pool/universe/p/pacman-package-manager/$i - dpkg -i /tmp/$i || true -done - -apt-get -f install -oDpkg::Use-Pty=0 -qq