We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9859df commit bd45518Copy full SHA for bd45518
assets/build
@@ -69,7 +69,9 @@ fi
69
# We add --no-fetch to prevent infinite recursion
70
if [[ "$NO_FETCH" != "true" ]]; then
71
echo "Attempting to fetch latest build script from GitHub..."
72
- if curl -fsSL "https://raw.githubusercontent.com/GetPageSpeed/debbuilder/refs/heads/main/assets/build" > /tmp/latest-build.sh; then
+ # Add cache busting to prevent GitHub from serving cached versions
73
+ cache_buster=$(date +%s)
74
+ if curl -fsSL "https://raw.githubusercontent.com/GetPageSpeed/debbuilder/refs/heads/main/assets/build?${cache_buster}" > /tmp/latest-build.sh; then
75
chmod +x /tmp/latest-build.sh
76
echo "Successfully fetched latest build script. Executing..."
77
exec /tmp/latest-build.sh --no-fetch "$@"
0 commit comments