deb-packs/dbgate/package.sh

19 lines
319 B
Bash
Raw Normal View History

2024-09-04 10:03:12 +08:00
#!/bin/bash
app_name="dbgate"
2024-10-18 11:18:03 +08:00
version="5.5.6"
2024-09-04 10:03:12 +08:00
release="v${version}"
deb_url="https://github.com/dbgate/dbgate/releases/download/${release}/dbgate-${version}-linux_amd64.deb"
wget $deb_url -O "${app_name}_${version}.deb"
apt install "./${app_name}_${version}.deb"
upload_deb
rm -rf "${app_name}_${version}.deb"