auri
Advanced tools
Comparing version 1.0.0-next.3 to 1.0.0-next.5
# auri | ||
## 1.0.0-next.5 | ||
- Fix publish command | ||
## 1.0.0-next.4 | ||
- Fix error ([#81](https://github.com/pilcrowOnPaper/auri/pull/81)) | ||
## 1.0.0-next.2 | ||
- Fix git |
@@ -20,2 +20,3 @@ import { publish } from "./scripts/publish.js"; | ||
await addChangeset(type); | ||
process.exit(); | ||
} | ||
@@ -28,2 +29,3 @@ if (args[0] === "prepare") { | ||
await prepareRelease(branch); | ||
process.exit(); | ||
} | ||
@@ -36,3 +38,4 @@ if (args[0] === "publish") { | ||
await publish(branch); | ||
process.exit(); | ||
} | ||
throw new Error(`Unknown command: ${args[0]}`); |
@@ -158,3 +158,3 @@ import fs from "fs/promises"; | ||
if (majorVersion !== currentVersion.major || currentVersion.next !== null) { | ||
// stable => next release | ||
// stable/next => next release | ||
return await prepareNextMajorVersion(majorVersion, packageMeta); | ||
@@ -161,0 +161,0 @@ } |
@@ -11,3 +11,4 @@ import fs from "fs/promises"; | ||
} | ||
if (packageMeta.version.includes(".next-")) { | ||
console.log(packageMeta); | ||
if (packageMeta.version.includes("-next.")) { | ||
execute("npm install && npm run build && npm publish --access public --tag next"); | ||
@@ -14,0 +15,0 @@ const body = await getLatestChangelogBody(); |
{ | ||
"name": "auri", | ||
"version": "1.0.0-next.3", | ||
"version": "1.0.0-next.5", | ||
"description": "Organize package changes and releases", | ||
@@ -5,0 +5,0 @@ "main": "/dist/index.js", |
37293
835