mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-11-28 03:56:26 +02:00
release: TradingAgents 1.0.0
TradingAgents: Towards Agentic Finance Research. See CHANGELOG.md for what 1.0.0 includes.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// Copyright 2026 Tauric Research
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
/** Print version `argv[2]`'s notes from CHANGELOG.md; fail when it has none. Run with Bun. */
|
||||
import { readFileSync } from "node:fs";
|
||||
import { releaseNotes } from "./changelog-source.ts";
|
||||
|
||||
const version = (process.argv[2] ?? "").replace(/^v/, "");
|
||||
const notes = releaseNotes(readFileSync("CHANGELOG.md", "utf8"), version);
|
||||
if (!notes) {
|
||||
console.error(`CHANGELOG.md has no notes for ${version}`);
|
||||
process.exit(1);
|
||||
}
|
||||
console.log(notes);
|
||||
Reference in New Issue
Block a user