2024-09-04 10:03:12 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
app_name="dbgate"
|
|
|
|
|
2024-12-10 13:53:11 +08:00
|
|
|
version="6.0.0"
|
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"
|