mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove some more unnecessary console logs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
3658e9def4
commit
f0ceae8c77
@ -43,10 +43,6 @@ await spawn("git", ["add", "lerna.json", "packages/*/package.json"], {
|
|||||||
await spawn("git", ["commit", "-sm", `"Release ${newVersion.format()}"`], {
|
await spawn("git", ["commit", "-sm", `"Release ${newVersion.format()}"`], {
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(`new version: ${newVersion.format()}`);
|
|
||||||
|
|
||||||
console.log("fetching tags...");
|
|
||||||
await spawn("git", ["fetch", "--tags", "--force"], {
|
await spawn("git", ["fetch", "--tags", "--force"], {
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
});
|
});
|
||||||
@ -55,7 +51,7 @@ const actualTags = (await exec("git tag --list", { encoding: "utf-8" })).stdout.
|
|||||||
const [previousReleasedVersion] = actualTags
|
const [previousReleasedVersion] = actualTags
|
||||||
.map((value) => semverValid(value))
|
.map((value) => semverValid(value))
|
||||||
.filter((v): v is string => typeof v === "string")
|
.filter((v): v is string => typeof v === "string")
|
||||||
.sort((l, r) => semverRcompare(l, r))
|
.sort(semverRcompare)
|
||||||
.filter(version => semverLte(version, currentVersion));
|
.filter(version => semverLte(version, currentVersion));
|
||||||
|
|
||||||
const getMergedPrsArgs = [
|
const getMergedPrsArgs = [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user