Skip to content

Commit

Permalink
Clean up the version strings a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Mar 12, 2024
1 parent a7be12a commit 45abea1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class IdsToolbox {
private getCachedVersion(version: string): undefined | string {
const cachedPath = actions_tool_cache.find(
`determinatesystems-${this.projectName}`,
version,
version.replace(/[^a-zA-Z0-9-+.]/g, "").replace(/^\./, "0."),
this.architectureFetchSuffix,
);

Expand All @@ -120,7 +120,7 @@ class IdsToolbox {
toolPath,
this.projectName,
`determinatesystems-${this.projectName}`,
version,
version.replace(/[^a-zA-Z0-9-+.]/g, "").replace(/^\./, "0."),
this.architectureFetchSuffix,
);
}
Expand Down

0 comments on commit 45abea1

Please sign in to comment.