Skip to content

Commit

Permalink
fix: actual release with the built dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrenskers committed Aug 13, 2021
1 parent a0df12c commit b31b782
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7058,12 +7058,6 @@ function getConfig(path) {
return DEFAULT_CONFIG;
}

const TAG_REGEX = /^v?(\d+).(\d+).(\d+)$/i;

function validateTag(tag) {
return TAG_REGEX.test(tag);
}

async function run() {
const token = getInput("token", { required: true });
const octokit = getOctokit(token);
Expand All @@ -7084,7 +7078,7 @@ async function run() {
});

const validSortedTags = tags
.filter((t) => validateTag(t.name))
.filter((t) => compareVersions.validate(t.name))
.sort((a, b) => {
return compareVersions(a.name, b.name);
})
Expand Down

0 comments on commit b31b782

Please sign in to comment.