File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686 BASE_URL="https://github.com/osodevops/keito-cli/releases/download/${GITHUB_REF_NAME}"
8787
8888 # Download each binary tarball and compute SHA256
89- curl -fsSL "${BASE_URL}/keito-aarch64-apple-darwin.tar.gz" -o arm64.tar.gz
90- curl -fsSL "${BASE_URL}/keito-x86_64-apple-darwin.tar.gz" -o x86_64_mac.tar.gz
91- curl -fsSL "${BASE_URL}/keito-x86_64-unknown-linux-gnu.tar.gz" -o x86_64_linux.tar.gz
89+ # Retry up to 5 times with 15s delay to allow CDN propagation
90+ download_with_retry() {
91+ local url="$1" output="$2"
92+ for i in 1 2 3 4 5; do
93+ if curl -fsSL "$url" -o "$output"; then
94+ return 0
95+ fi
96+ echo "Attempt $i failed for $output, retrying in 15s..."
97+ sleep 15
98+ done
99+ echo "Failed to download $output after 5 attempts"
100+ return 1
101+ }
102+ download_with_retry "${BASE_URL}/keito-aarch64-apple-darwin.tar.gz" arm64.tar.gz
103+ download_with_retry "${BASE_URL}/keito-x86_64-apple-darwin.tar.gz" x86_64_mac.tar.gz
104+ download_with_retry "${BASE_URL}/keito-x86_64-unknown-linux-gnu.tar.gz" x86_64_linux.tar.gz
92105
93106 SHA_ARM64=$(sha256sum arm64.tar.gz | awk '{print $1}')
94107 SHA_X86_64_MAC=$(sha256sum x86_64_mac.tar.gz | awk '{print $1}')
Original file line number Diff line number Diff line change 11/target
2- Cargo.lock
32* .swp
43* .swo
54.DS_Store
Original file line number Diff line number Diff line change @@ -5,13 +5,18 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/ ) .
77
8- ## [ Unreleased ]
8+ ## [ 0.1.1 ] - 2026-03-05
99
1010### Added
1111
1212- ` keito time stop --discard ` — abandon a running timer without saving, deletes the time entry
1313- Richer JSON error output with ` suggestion ` and ` details ` fields for agent-friendly recovery hints
1414
15+ ### Fixed
16+
17+ - Commit ` Cargo.lock ` so ` rustsec/audit-check ` can run in CI
18+ - Add retry logic to Homebrew tap job to handle GitHub CDN propagation delays
19+
1520## [ 0.1.0] - 2026-03-05
1621
1722### Added
You can’t perform that action at this time.
0 commit comments