Skip to content

Commit 07f8c65

Browse files
Aiinfo diffcache (#116)
* add changelog to output * add clearCache utility * update cache * add writeChangelog util * ignore package.json in biome lint * @instructure.ai/aiinfo@1.1.2 * fix lint issues * @instructure.ai/aiinfo@1.2.0 * use vite-node/loader * aiinfo@1.2.1 * use loader as an export * aiinfo@1.2.2 * use custom loader * aiinfo@1.2.3 * quote loader * use correct path * aiinfo@1.2.4 * proper quotes * use nextLoad * use register instead of experimentalLoader * --no-git-checks b/c we're building here! * aiinfo@1.2.5 * aiinfo@1.2.6 * proper quoting * aiinfo@1.2.7 * async import * aiinfo@1.2.8 * move register to loader script * aiinfo@1.2.9 * Update scripts/loader.mjs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * proper release folder * aiinfo@1.2.10 * use dirname for loader * ci=1 for current caches * aiinfo@1.2.11 * pack build * aiinfo@1.2.12 * set env name * aiinfo@1.2.13 * aiinfo@1.2.14 * add pnpm at init * aiinfo@1.2.15 * remove duplicate install * Update .github/workflows/release-package.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b6cf756 commit 07f8c65

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/release-package.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
node-version: '24'
2626
registry-url: 'https://registry.npmjs.org'
2727
cache: 'pnpm'
28+
29+
- name: Install pnpm
30+
run: npm install -g pnpm
2831

2932
- name: Fetch all tags
3033
run: git fetch --tags
@@ -61,7 +64,6 @@ jobs:
6164
fi
6265
6366
# Install deps
64-
npm install -g pnpm
6567
pnpm install --frozen-lockfile
6668
6769
# Enable vite-node loader using the register() API
@@ -96,7 +98,11 @@ jobs:
9698
JSON_PATH=""
9799
fi
98100
99-
TARBALL="./packages/$PKG_NAME/dist/"*.tgz
101+
TARBALL=$(ls ./packages/$PKG_NAME/dist/*.tgz 2>/dev/null | head -n 1)
102+
if [ -z "$TARBALL" ]; then
103+
echo "Error: No .tgz tarball found for $PKG_NAME in ./packages/$PKG_NAME/dist/"
104+
continue
105+
fi
100106
if [ -n "$JSON_PATH" ]; then
101107
ACCESS_PUBLIC=$(jq -r '.publishConfig.access // empty' "$JSON_PATH")
102108
PRIVATE=$(jq -r '.private // false' "$JSON_PATH")

packages/aiinfo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@
4848
"sideEffects": false,
4949
"type": "module",
5050
"types": "./dist/index.d.ts",
51-
"version": "1.2.14"
51+
"version": "1.2.15"
5252
}

0 commit comments

Comments
 (0)