From 9de5aaeb36b8ac62803b4976ae27cccb193e3201 Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 1 Sep 2022 13:14:22 +0300 Subject: [PATCH] Fix version displayed in github release (#172) --- .github/workflows/release_github.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release_github.yml b/.github/workflows/release_github.yml index 724db9f2..44dfe981 100644 --- a/.github/workflows/release_github.yml +++ b/.github/workflows/release_github.yml @@ -14,20 +14,19 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Set env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - - name: "Get the version of fluence-js package" id: package-version uses: martinbeentjes/npm-get-version-action@v1.2.3 - with: path: packages/fluence-js + - name: Set env + run: echo "RELEASE_VERSION=v${{ steps.package-version.outputs.current-version }}" >> $GITHUB_ENV + - name: "Create tag for release" uses: rickstaa/action-create-tag@v1 with: - tag: "v${{ steps.package-version.outputs.current-version }}" + tag: ${{ env.RELEASE_VERSION }} message: "" github_token: ${{ secrets.GITHUB_TOKEN }}