From 2600f395e353f1ca23eba8a92a14d155de85228f Mon Sep 17 00:00:00 2001 From: detachhead Date: Sun, 17 Nov 2024 14:41:57 +1000 Subject: [PATCH] fix command to get currently published npm package version --- .github/workflows/build_and_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 5fd8d35b9..ded0621d0 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -104,7 +104,7 @@ jobs: - id: current-version # https://github.com/astral-sh/uv/issues/6298 run: | - echo ::set-output name=CURRENT_VERSION::$(./pw uv run python -c "from based_build.get_version import get_version;print(get_version())") + echo ::set-output name=CURRENT_VERSION::$(uv run python -c "from based_build.get_version import get_version;print(get_version())") echo ::set-output name=CURRENT_UPSTREAM_VERSION::$(uv run node -p "require(\"./package.json\").version") working-directory: ${{ env.NPM_PACKAGE_DIR }}