summaryrefslogtreecommitdiff
path: root/scripts/prepare-core-package.js
diff options
context:
space:
mode:
authormatt korwel <[email protected]>2025-07-03 22:57:01 -0500
committerGitHub <[email protected]>2025-07-04 03:57:01 +0000
commitd43ea268b01e80166ca9325bf174a9796105715f (patch)
treeb9af69c504a328074fcb4bff8165ede0460d05d7 /scripts/prepare-core-package.js
parent32db5ba0e1b7628fa6714bea8532377641b1af18 (diff)
Releasing: Utilizing Github Actions and Tagging for release. (#2852)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: N. Taylor Mullen <[email protected]>
Diffstat (limited to 'scripts/prepare-core-package.js')
-rw-r--r--scripts/prepare-core-package.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/scripts/prepare-core-package.js b/scripts/prepare-core-package.js
deleted file mode 100644
index 7d2e1e08..00000000
--- a/scripts/prepare-core-package.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * @license
- * Copyright 2025 Google LLC
- * SPDX-License-Identifier: Apache-2.0
- */
-
-import fs from 'fs';
-import path from 'path';
-import { fileURLToPath } from 'url';
-
-// ES module equivalent of __dirname
-const __filename = fileURLToPath(import.meta.url);
-const __dirname = path.dirname(__filename);
-
-// Copy README.md to packages/core
-const rootReadmePath = path.resolve(__dirname, '../README.md');
-const coreReadmePath = path.resolve(__dirname, '../packages/core/README.md');
-
-try {
- fs.copyFileSync(rootReadmePath, coreReadmePath);
- console.log('Copied root README.md to packages/core/');
-} catch (err) {
- console.error('Error copying README.md:', err);
- process.exit(1);
-}
-
-// Copy README.md to packages/cli
-const rootLicensePath = path.resolve(__dirname, '../LICENSE');
-const coreLicensePath = path.resolve(__dirname, '../packages/core/LICENSE');
-
-try {
- fs.copyFileSync(rootLicensePath, coreLicensePath);
- console.log('Copied root LICENSE to packages/core/');
-} catch (err) {
- console.error('Error copying LICENSE:', err);
- process.exit(1);
-}