Skip to content

Commit ab10620

Browse files
committed
fix: biome autoversion for 2.x.x
1 parent 788a480 commit ab10620

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

biome.hcl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@ version "1.6.3" "1.6.4" "1.6.4-nightly.a995ada" "1.6.4-nightly.abab451" "1.7.0"
2525
"1.9.0" "1.9.1-nightly.12688b6" "1.9.1" "1.9.2" "1.9.3-nightly.75b4387" "1.9.3"
2626
"1.9.4" "1.9.5-nightly.92879ae" "1.9.5-nightly.4713c52" "1.9.5-nightly.ff02a0b"
2727
"1.9.5-nightly.c0cccb2" "1.9.5-nightly.81fdedb" {
28+
source = "https://github.com/biomejs/biome/releases/download/cli%2Fv${version}/biome-${os}-${arch_}"
29+
}
30+
31+
version "2.0.1" "2.0.4" "2.0.5" "2.0.6" "2.1.0" "2.1.1" {
2832
auto-version {
2933
github-release = "biomejs/biome"
30-
version-pattern = "^cli/v(.*)"
34+
version-pattern = "^@biomejs/biome@(.*)"
3135
ignore-invalid-versions = true
3236
}
3337

34-
source = "https://github.com/biomejs/biome/releases/download/cli%2Fv${version}/biome-${os}-${arch_}"
38+
source = "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%40${version}/biome-${os}-${arch_}"
3539
}
3640

3741
sha256sums = {

0 commit comments

Comments
 (0)