Update ArmCord deb regex
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
askiiart 2024-08-25 08:19:12 -05:00
parent f2cc8ce003
commit c60e8efc4c
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30

View file

@ -14,7 +14,7 @@ apt-get install -y dpkg-dev
# ArmCord # ArmCord
cd /repo/dists/bookworm/stable/binary-amd64/ cd /repo/dists/bookworm/stable/binary-amd64/
curl -LO $(curl -s https://api.github.com/repos/ArmCord/ArmCord/releases/latest | grep "browser_download_url.*ArmCord_.*_amd64.deb" | cut -d : -f 2,3 | tr -d \") -C - curl -LO $(curl -s https://api.github.com/repos/ArmCord/ArmCord/releases/latest | grep "browser_download_url.*ArmCord-.*-linux-amd64.deb" | cut -d : -f 2,3 | tr -d \") -C -
# Discord # Discord
# Has to be manually updated for each version # Has to be manually updated for each version
@ -35,4 +35,4 @@ cd /repo
dpkg-scanpackages --arch amd64 dists/bookworm/stable/binary-amd64/ > dists/bookworm/stable/binary-amd64/Packages dpkg-scanpackages --arch amd64 dists/bookworm/stable/binary-amd64/ > dists/bookworm/stable/binary-amd64/Packages
cat dists/bookworm/stable/binary-amd64/Packages | gzip -9 > dists/bookworm/stable/binary-amd64/Packages.gz cat dists/bookworm/stable/binary-amd64/Packages | gzip -9 > dists/bookworm/stable/binary-amd64/Packages.gz
mv /drone/src/generate-Release.sh ./dists/bookworm/stable/binary-amd64/generate-Release.sh mv /drone/src/generate-Release.sh ./dists/bookworm/stable/binary-amd64/generate-Release.sh
./dists/bookworm/stable/binary-amd64/generate-Release.sh > Release ./dists/bookworm/stable/binary-amd64/generate-Release.sh > Release