-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheck-release-status.sh
More file actions
54 lines (45 loc) · 1.68 KB
/
check-release-status.sh
File metadata and controls
54 lines (45 loc) · 1.68 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
51
52
53
54
#!/bin/bash
# Script to monitor the release process
echo "=========================================="
echo "Rustyll v0.8.0 Release Status Monitor"
echo "=========================================="
echo ""
# Check GitHub Actions status
echo "📊 GitHub Actions Status:"
echo ""
gh run list --limit 5 --json workflowName,status,conclusion,createdAt,displayTitle | \
jq -r '.[] | " \(.workflowName): \(.status) \(if .conclusion then "(\(.conclusion))" else "" end)"'
echo ""
echo "=========================================="
echo ""
# Check if release exists
echo "🏷️ GitHub Release:"
gh release view v0.8.0 --json tagName,name,publishedAt,url 2>/dev/null | \
jq -r '" Tag: \(.tagName)\n Name: \(.name)\n URL: \(.url)"' || \
echo " Release not yet created"
echo ""
echo "=========================================="
echo ""
# Check crates.io
echo "📦 crates.io Status:"
if curl -s "https://crates.io/api/v1/crates/rustyll" | jq -e '.crate.max_version == "0.8.0"' > /dev/null 2>&1; then
echo " ✅ Version 0.8.0 published to crates.io"
echo " 🔗 https://crates.io/crates/rustyll"
else
echo " ⏳ Not yet published or waiting for index update"
echo " 🔗 Check: https://crates.io/crates/rustyll"
fi
echo ""
echo "=========================================="
echo ""
echo "💡 Tips:"
echo " - Watch live: gh run watch"
echo " - View release: gh release view v0.8.0"
echo " - Check logs: gh run view --log"
echo " - Install: cargo install rustyll"
echo ""
echo "🌐 Links:"
echo " - Actions: https://github.com/betterwebinit/rustyll/actions"
echo " - Releases: https://github.com/betterwebinit/rustyll/releases"
echo " - crates.io: https://crates.io/crates/rustyll"
echo ""