Skip to content

Commit

Permalink
chore(publish): hardcode tag to "experimental-netlify-edge"
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed Apr 19, 2022
1 parent 243a414 commit 40464a2
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,7 @@ async function run() {
process.exit(1);
}

let prerelease = semver.prerelease(taggedVersion);
let prereleaseTag =
prerelease && prerelease.length > 0 ? String(prerelease[0]) : undefined;
let tag = prereleaseTag
? prereleaseTag.includes("nightly")
? "nightly"
: prereleaseTag
: taggedVersion === "experimental-netlify-edge"
? "experimental-netlify-edge"
: "latest";
let tag = "experimental-netlify-edge";

// Publish eslint config directly from the package directory
publish(path.join(packageDir, "remix-eslint-config"), tag);
Expand Down

0 comments on commit 40464a2

Please sign in to comment.