We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10e877d commit 2f51320Copy full SHA for 2f51320
dist/index.js
@@ -84,7 +84,7 @@ function fetchVersions(repoToken) {
84
rest = new restm.RestClient("setup-task");
85
}
86
const tags = (yield rest.get("https://api.github.com/repos/go-task/task/releases")).result || [];
87
- return tags.map((tag) => tag.tag_name);
+ return tags.map((tag) => tag.tag_name.replace(/^v/, ""));
88
});
89
90
// Make partial versions semver compliant.
src/installer.ts
@@ -46,7 +46,7 @@ async function fetchVersions(repoToken: string): Promise<string[]> {
46
)
47
).result || [];
48
49
50
51
52
0 commit comments