feat(install-scripts): Updated installation scripts to fetch the latest version from GitHub and fixed download links.

Updated client and server installation scripts to automatically fetch the latest release via the GitHub API and corrected binary download addresses. Removed the old "latest" version logic to ensure explicit version tags are always used for downloads.

fix(readme): Fixed installation commands and license information in the README.

Corrected the installation script link pointing to an incorrect URL in the README to the correct path raw.githubusercontent.com, and updated the open-source license information used by the project from MIT to BSD 3-Clause.

ci(release): Added an automated GitHub Actions release workflow.

Added a new CI workflow configuration file to trigger the build process when a tag is pushed. This workflow compiles binaries for multiple platforms, generates checksums, and creates a GitHub Release with attachments. Supports different architectures including Linux, macOS, and Windows.
This commit is contained in:
Gouryella
2025-12-02 16:40:53 +08:00
parent 090efcc64c
commit e0e33c3323
6 changed files with 130 additions and 58 deletions

View File

@@ -258,7 +258,7 @@ func (h *Handler) serveHomePage(w http.ResponseWriter, r *http.Request) {
<h2>Quick Start</h2>
<p>Install the client:</p>
<code>bash <(curl -fsSL https:///install.sh)</code>
<code>bash <(curl -fsSL https://raw.githubusercontent.com/Gouryella/drip/refs/heads/main/scripts/install.sh)</code>
<p>Start a tunnel:</p>
<code>drip http 3000</code><br><br>