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