Skip to content

Commit

Permalink
chore: add 'next' prefix to Marko 6 beta releases
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Dec 28, 2024
1 parent 8ebe566 commit 4dde67c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/violet-starfishes-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marko/runtime-tags": patch
---

Release Marko 6 beta with `next` prefix for easier semver targeting.
2 changes: 1 addition & 1 deletion scripts/publish-alias.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const originalPkgSource = fs.readFileSync(runtimeTagsPkgFile, "utf-8");
const pkg = JSON.parse(originalPkgSource);

pkg.name = "marko";
pkg.version = "6.0.0-" + pkg.version.replace(/^(0\.)+/, "");
pkg.version = "6.0.0-next." + pkg.version.replace(/^(0\.)+/, "");

try {
fs.writeFileSync(runtimeTagsPkgFile, JSON.stringify(pkg, null, 2) + "\n");
Expand Down

0 comments on commit 4dde67c

Please sign in to comment.