diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9e17c8..cfee0d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,11 +23,9 @@ jobs: with: node-version: 18.x cache: "pnpm" - - name: Get package version - id: package-version - run: | - VERSION=$(node -p "require('./package.json').version") - echo "VERSION=$VERSION" >> $GITHUB_OUTPUT + - name: Get current version + id: get-version + run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT - run: pnpm install --frozen-lockfile - run: pnpm build - name: Create Release Pull Request or Publish