Remove AUR ci stuff
This commit is contained in:
parent
a12ba017bc
commit
427fde27ad
3 changed files with 0 additions and 49 deletions
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
|
@ -26,19 +26,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
RELEASE: true
|
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 }}
|
|
||||||
|
|
|
@ -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
|
|
|
@ -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
|
|
Loading…
Reference in a new issue