From 75aa99572b3457c0238eb22f4fdf254f2edb562a Mon Sep 17 00:00:00 2001 From: eslam3bed <20760072+Eslam3bed@users.noreply.github.com> Date: Sun, 22 Sep 2024 21:01:23 +0300 Subject: [PATCH] update --- .github/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 96af654..696a9e8 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -71,7 +71,6 @@ jobs: release: needs: build runs-on: ubuntu-latest - if: needs.build.outputs.version_bumped == 'true' steps: - name: Checkout code uses: actions/checkout@v3 @@ -80,5 +79,6 @@ jobs: uses: softprops/action-gh-release@v1 with: files: dist/* + tag: v$(node -p -e "require('./package.json').version") # Use the new tag env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file