github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-02-14 07:38 pm

[dreamwidth/dreamwidth] 58469f: Fix build-static dispatcher to use OS version for ...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 58469ff26f515b7e15013cabac257c70f833689c https://github.com/dreamwidth/dreamwidth/commit/58469ff26f515b7e15013cabac257c70f833689c Author: Mark Smith mark@dreamwidth.org Date: 2026-02-14 (Sat, 14 Feb 2026)

Changed paths: M bin/build-static.sh

Log Message:


Fix build-static dispatcher to use OS version for tool selection

The dispatcher checked for sass on PATH to decide between legacy (Compass) and modern (Dart Sass) builds, but Ubuntu 18.04's ruby-compass package also installs a sass binary. This caused the base image build to route to build-static-modern.sh which passes --no-source-map, a Dart Sass flag that Ruby Sass doesn't understand.

Check /etc/lsb-release instead: 18.04 gets legacy, everything else gets modern.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications