From 2d59819e9d14ce3389efbda9cba21b6127bb58cc Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Sat, 1 Jun 2024 18:49:46 +0000 Subject: [PATCH] remove other __dirnames; not needed --- apps/game-db-updater/scripts/package.ts | 4 ---- apps/gh-action-runner/scripts/package.ts | 4 ---- 2 files changed, 8 deletions(-) diff --git a/apps/game-db-updater/scripts/package.ts b/apps/game-db-updater/scripts/package.ts index 9d63ab61f..4ac129e54 100755 --- a/apps/game-db-updater/scripts/package.ts +++ b/apps/game-db-updater/scripts/package.ts @@ -1,12 +1,8 @@ -import path from 'path' import sh from 'shelljs' import { getDockerTags } from 'versioning' import pkg from '../package.json' async function run() { - const projectRoot = path.join(__dirname, '../') - process.chdir(projectRoot) - sh.cp('-R', '.dist/', '_packaged/') const { REGISTRY, OWNER, GITHUB_REF } = process.env diff --git a/apps/gh-action-runner/scripts/package.ts b/apps/gh-action-runner/scripts/package.ts index bc0a72602..4559a5fa3 100755 --- a/apps/gh-action-runner/scripts/package.ts +++ b/apps/gh-action-runner/scripts/package.ts @@ -1,12 +1,8 @@ -import path from 'path' import sh from 'shelljs' import { getDockerTags } from 'versioning' import pkg from '../package.json' async function run() { - const projectRoot = path.join(__dirname, '../') - process.chdir(projectRoot) - const { REGISTRY, OWNER, GITHUB_REF } = process.env if (!REGISTRY || !OWNER || !GITHUB_REF) {