-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-installation.sh
More file actions
executable file
·50 lines (42 loc) · 1.75 KB
/
Copy pathtest-installation.sh
File metadata and controls
executable file
·50 lines (42 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
# Test script to verify all installation methods
set -e
echo "🚀 Testing Commitgen Installation Methods"
echo "========================================="
# Test current binary
echo "1. Testing current binary..."
./commitgen version
echo ""
echo "2. Testing Go installation (if Go is available)..."
if command -v go >/dev/null 2>&1; then
echo "Go found, testing installation..."
# Note: This would install from current directory, for testing only
# go install github.com/FreePeak/commitgen@v0.1.0
echo "✅ Go installation available: go install github.com/FreePeak/commitgen@v0.1.0"
else
echo "⚠️ Go not found, skipping Go installation test"
fi
echo ""
echo "3. Testing installation scripts..."
echo "✅ Script installation available:"
echo " curl -fsSL https://raw.githubusercontent.com/FreePeak/commitgen/main/install-package.sh | bash"
echo ""
echo "4. Testing Docker installation..."
echo "✅ Docker installation available:"
echo " docker pull ghcr.io/freepeak/commitgen:v0.1.0"
echo ""
echo "5. Homebrew installation..."
echo "✅ Homebrew formula will be created in: FreePeak/homebrew-tap"
echo " Command: brew install FreePeak/tap/commitgen"
echo ""
echo "========================================="
echo "🎉 Release v0.1.0 has been created!"
echo ""
echo "📊 Monitor the release progress:"
echo " GitHub Actions: https://github.com/FreePeak/commitgen/actions"
echo " Release page: https://github.com/FreePeak/commitgen/releases/tag/v0.1.0"
echo ""
echo "📦 After the release completes, you can install with:"
echo " brew install FreePeak/tap/commitgen"
echo " go install github.com/FreePeak/commitgen@v0.1.0"
echo " curl -fsSL https://raw.githubusercontent.com/FreePeak/commitgen/main/install-package.sh | bash"