From ecce7565299497602959ca4eedc7cf2b60f2705a Mon Sep 17 00:00:00 2001 From: Rob <373278+manix84@users.noreply.github.com> Date: Thu, 11 Jun 2026 09:45:30 +0100 Subject: [PATCH] Fix npm release tarball publishing --- .github/workflows/npm-release.yml | 2 +- RELEASE.md | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index eeaf602..53ed7d6 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -132,7 +132,7 @@ jobs: exit 1 fi - npm publish "$tarball" --access public --ignore-scripts + npm publish "./$tarball" --access public --ignore-scripts - name: Prepare GitHub Packages package run: | diff --git a/RELEASE.md b/RELEASE.md index 1700b6a..5e7f3e4 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -52,7 +52,7 @@ npm run build npm run build:storybook npm run pack:dry-run npm run pack:release -- --ignore-scripts -npm publish release-artifacts/arcade-engine-X.Y.Z.tgz --access public +npm publish ./release-artifacts/arcade-engine-X.Y.Z.tgz --access public ``` The package build validates that `dist` contains the package entry point, @@ -120,7 +120,7 @@ input. If all checks pass, it: The npmjs publish step runs with trusted publishing: ```sh -npm publish release-artifacts/arcade-engine-X.Y.Z.tgz --access public +npm publish ./release-artifacts/arcade-engine-X.Y.Z.tgz --access public ``` Npm automatically generates provenance when trusted publishing is used from a diff --git a/package-lock.json b/package-lock.json index 385f379..14a778b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "arcade-engine", - "version": "4.5.1", + "version": "4.5.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "arcade-engine", - "version": "4.5.1", + "version": "4.5.2", "license": "MIT", "devDependencies": { "@eslint/js": "^10.0.1", diff --git a/package.json b/package.json index 8740eff..ba27e1f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "arcade-engine", "description": "A small browser arcade-game engine for canvas games.", - "version": "4.5.1", + "version": "4.5.2", "license": "MIT", "readmeFilename": "README.md", "type": "module",