Skip to content

Commit

Permalink
fixup! Support Scarb nightlies
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaput committed Aug 10, 2023
1 parent b62f8ee commit 271b7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function fetchLatestTag(repo) {
);
}

const tag = location.replace(/.*\/tag\/(v.*)(?:\/.*)?/, "$1");
const tag = location.replace(/.*\/tag\/([^/]*)(?:\/.*)?/, "$1");
if (!tag) {
throw new Error(
`failed to determine latest version: could not extract tag from release url`,
Expand Down

0 comments on commit 271b7df

Please sign in to comment.