From 76759a1ee958a1c049642db300bf47bed0152294 Mon Sep 17 00:00:00 2001 From: Eddie Dover Date: Mon, 18 Sep 2023 12:45:58 -0700 Subject: [PATCH] version fix --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c76e624..1faf7af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,8 +38,7 @@ jobs: - name: Get Version shell: bash id: get-version - run: | - echo "VERSION::$(node ./.github/workflows/get-version.js)" >> "$GITHUB_ENV" + run: echo "version=$(node ./.github/workflows/get-version.js)" >> "$GITHUB_OUTPUT" # Generate changelog for release body - name: Changelog @@ -61,4 +60,4 @@ jobs: prerelease: false token: ${{ secrets.GITHUB_TOKEN }} artifacts: './deploy/module.json,./deploy/module.zip' - tag: "$VERSION" + tag: ${{ steps.get-version.outputs.version }}