Skip to content

Commit e49fb33

Browse files
committed
feat: update installation script URLs to use 'master' branch
- Change installation script URLs in release.yml, install.sh, and README.md to point to the 'master' branch instead of 'main'. - Ensure consistency across documentation and installation instructions.
1 parent 075811e commit e49fb33

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
169169
**One-line installer (recommended):**
170170
```bash
171-
curl -fsSL https://raw.githubusercontent.com/${{ github.repository }}/main/scripts/install.sh | sh
171+
curl -fsSL https://raw.githubusercontent.com/${{ github.repository }}/master/scripts/install.sh | sh
172172
```
173173
174174
**Manual Downloads:**

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
```bash
3636
# Install latest version for your platform (auto-detects OS/arch)
37-
curl -fsSL https://raw.githubusercontent.com/ali-master/pingu/main/scripts/install.sh | sh
37+
curl -fsSL https://raw.githubusercontent.com/ali-master/pingu/master/scripts/install.sh | sh
3838
```
3939

4040
> **Note**: The installer automatically detects your operating system and CPU architecture, downloads the appropriate binary, and installs it to your system. It will try to install to `/usr/local/bin` (with sudo if needed) or fall back to `~/bin`.
@@ -79,7 +79,7 @@ $env:PATH += ";$PWD"
7979

8080
```bash
8181
# Run the installer again to upgrade to the latest version
82-
curl -fsSL https://raw.githubusercontent.com/ali-master/pingu/main/scripts/install.sh | sh
82+
curl -fsSL https://raw.githubusercontent.com/ali-master/pingu/master/scripts/install.sh | sh
8383
```
8484

8585
The installer will:

scripts/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
# Pingu installer script
6-
# Usage: curl -fsSL https://raw.githubusercontent.com/ali-master/pingu/main/scripts/install.sh | sh
6+
# Usage: curl -fsSL https://raw.githubusercontent.com/ali-master/pingu/master/scripts/install.sh | sh
77

88
REPO="ali-master/pingu"
99
VERSION="latest"
@@ -420,4 +420,4 @@ elif [ "$OS_NAME" = "windows" ]; then
420420
fi
421421

422422
print_color "$GREEN" "Happy pinging! ${PENGUIN}"
423-
echo ""
423+
echo ""

0 commit comments

Comments
 (0)