Skip to content

Commit

Permalink
Fix linux musl builds (#2175)
Browse files Browse the repository at this point in the history
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
  • Loading branch information
ntkme and nex3 committed Feb 20, 2024
1 parent 3e6721e commit 786dd63
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-linux-musl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ jobs:
ghcr.io/dart-musl/dart <<'EOF'
set -e
dart pub get
dart run grinder pkg-standalone-linux-${{ matrix.arch }}
# Rename the artifact from -linux- to -linux-musl- to avoid conflict with glibc builds.
find build -name '*.tar.gz' -print0 | xargs -0 -n 1 -- sh -xc 'mv "$1" "$(echo "$1" | sed -e "s/linux/linux-musl/")"' --
dart run grinder pkg-standalone-linux-${{ matrix.arch }}-musl
EOF
- name: Upload Artifact
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 1.71.1

### Command-Line Interface

* Ship the musl Linux release with the proper Dart executable.

### Embedded Sass

* In the JS Embedded Host, properly install the musl Linux embedded compiler
when running on musl Linux.

## 1.71.0

For more information about `pkg:` importers, see [the
Expand Down
4 changes: 4 additions & 0 deletions pkg/sass_api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 9.4.1

* No user-visible changes.

## 9.4.0

* No user-visible changes.
Expand Down
4 changes: 2 additions & 2 deletions pkg/sass_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: sass_api
# Note: Every time we add a new Sass AST node, we need to bump the *major*
# version because it's a breaking change for anyone who's implementing the
# visitor interface(s).
version: 9.4.0
version: 9.4.1
description: Additional APIs for Dart Sass.
homepage: https://github.com/sass/dart-sass

environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
sass: 1.71.0
sass: 1.71.1

dev_dependencies:
dartdoc: ^6.0.0
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sass
version: 1.71.0
version: 1.71.1-dev
description: A Sass implementation in Dart.
homepage: https://github.com/sass/dart-sass

Expand Down

0 comments on commit 786dd63

Please sign in to comment.