Skip to content

Commit 730096e

Browse files
committed
fix: Match changesets version naming scheme
1 parent fd8cceb commit 730096e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/poor-flies-sort.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"screen-reader-testing-library": patch
3+
---
4+
5+
Fix failing download on install
6+
7+
Changesets use a different naming scheme for tags which we forgot to incorporate in the install script.

src/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ async function validateCache(packagePath, screenReadersPath, linksDir) {
140140
.then((packageJson) => {
141141
return JSON.parse(packageJson)["version"];
142142
});
143-
const artifactsUrlBase = `https://github.com/eps1lon/screen-reader-testing-library/releases/download/v${packageVersion}/`;
143+
const artifactsUrlBase = `https://github.com/eps1lon/screen-reader-testing-library/releases/download/screen-reader-testing-library@${packageVersion}/`;
144144
for (const screenReader of myScreenReadersToDownload) {
145145
await downloadScreenReader(
146146
artifactsUrlBase,

0 commit comments

Comments
 (0)