Skip to content

Commit

Permalink
fix: Match changesets version naming scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Dec 6, 2020
1 parent fd8cceb commit 730096e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/poor-flies-sort.md
@@ -0,0 +1,7 @@
---
"screen-reader-testing-library": patch
---

Fix failing download on install

Changesets use a different naming scheme for tags which we forgot to incorporate in the install script.
2 changes: 1 addition & 1 deletion src/install.js
Expand Up @@ -140,7 +140,7 @@ async function validateCache(packagePath, screenReadersPath, linksDir) {
.then((packageJson) => {
return JSON.parse(packageJson)["version"];
});
const artifactsUrlBase = `https://github.com/eps1lon/screen-reader-testing-library/releases/download/v${packageVersion}/`;
const artifactsUrlBase = `https://github.com/eps1lon/screen-reader-testing-library/releases/download/screen-reader-testing-library@${packageVersion}/`;
for (const screenReader of myScreenReadersToDownload) {
await downloadScreenReader(
artifactsUrlBase,
Expand Down

0 comments on commit 730096e

Please sign in to comment.