Skip to content

Commit 46686ed

Browse files
authored
Merge pull request #2490 from sass/sass-parser-release
Use the Dart Sass version for the sass-parser dependency
2 parents ddb14b2 + 1261767 commit 46686ed

File tree

7 files changed

+26
-12
lines changed

7 files changed

+26
-12
lines changed

.github/workflows/release.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,12 @@ jobs:
127127
check-latest: true
128128
registry-url: 'https://registry.npmjs.org'
129129

130-
- name: Get version
131-
id: version
132-
run: |
133-
echo "version=$(jq .version pkg/sass-parser/package.json)" | tee --append "$GITHUB_OUTPUT"
134-
135130
# The repo package has a file dependency, but the released version needs
136131
# a real dependency on the released version of Sass.
137-
- run: npm install sass@${{ steps.version.outputs.version }}
132+
- name: Get Dart Sass version
133+
id: dart-sass-version
134+
run: echo "version=${GITHUB_REF##*/}" | tee --append "$GITHUB_OUTPUT"
135+
- run: npm install sass@${{ steps.dart-sassversion.outputs.version }}
138136
working-directory: pkg/sass-parser/
139137

140138
- run: npm run compile
@@ -143,7 +141,11 @@ jobs:
143141
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
144142
working-directory: pkg/sass-parser/
145143

146-
- run: git tag sass-parser/${{ steps.version.outputs.version }}
144+
- name: Get Sass parser version
145+
id: sass-parser-version
146+
run: |
147+
echo "version=$(jq .version pkg/sass-parser/package.json)" | tee --append "$GITHUB_OUTPUT"
148+
- run: git tag sass-parser/${{ steps.sass-parser-version.outputs.version }}
147149
- run: git push --tag
148150

149151
deploy_homebrew:

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.83.3
2+
3+
* No user-visible changes.
4+
15
## 1.83.2
26

37
* Properly display deprecation IDs for the JS Sass API.

pkg/sass-parser/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.4.11
2+
3+
* Fix the automated release process.
4+
15
## 0.4.10
26

37
* No user-visible changes.

pkg/sass-parser/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-parser",
3-
"version": "0.4.10",
3+
"version": "0.4.11",
44
"description": "A PostCSS-compatible wrapper of the official Sass parser",
55
"repository": "sass/sass",
66
"author": "Google Inc.",
@@ -32,7 +32,7 @@
3232
},
3333
"dependencies": {
3434
"postcss": ">=8.4.41 <8.5.0",
35-
"sass": "^1.83.1"
35+
"sass": "file:../../build/npm"
3636
},
3737
"devDependencies": {
3838
"@types/jest": "^29.5.12",

pkg/sass_api/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 15.0.3
2+
3+
* No user-visible changes.
4+
15
## 15.0.2
26

37
* No user-visible changes.

pkg/sass_api/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: sass_api
22
# Note: Every time we add a new Sass AST node, we need to bump the *major*
33
# version because it's a breaking change for anyone who's implementing the
44
# visitor interface(s).
5-
version: 15.0.2
5+
version: 15.0.3
66
description: Additional APIs for Dart Sass.
77
homepage: https://github.com/sass/dart-sass
88

99
environment:
1010
sdk: ">=3.3.0 <4.0.0"
1111

1212
dependencies:
13-
sass: 1.83.2
13+
sass: 1.83.3
1414

1515
dev_dependencies:
1616
dartdoc: ^8.0.14

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sass
2-
version: 1.83.2
2+
version: 1.83.3
33
description: A Sass implementation in Dart.
44
homepage: https://github.com/sass/dart-sass
55

0 commit comments

Comments
 (0)