From f07f0663901cd680c75d9972bd1d464ebd39c151 Mon Sep 17 00:00:00 2001 From: khoilen Date: Tue, 7 Jan 2025 11:38:15 +0700 Subject: [PATCH] feat: get version when bump if fail --- .github/workflows/bump-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index c955407..1123e71 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -40,7 +40,7 @@ jobs: id: bump-version run: | pnpm version ${{ github.event.inputs.version }} || true - version=$(jq -r '.version' apps/nt-stylesheet/package.json) + version=$(jq -r '.version' ./package.json) echo "Bumped version: $version" echo "new_version=$version" >> $GITHUB_ENV working-directory: apps/nt-stylesheet