From eb66095efa67d5d6f043a10786a94cc438a47ba2 Mon Sep 17 00:00:00 2001 From: Nick Fields Date: Thu, 13 Feb 2020 16:52:50 -0500 Subject: [PATCH] major: initial release --- .github/workflows/ci_cd.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 45c7e68..2513d0b 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -62,11 +62,12 @@ jobs: - name: Install dependencies run: npm ci - name: Release - id: release + id: semantic uses: cycjimmy/semantic-release-action@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Tag - run: git tag -f zzz && git push origin zzz + run: git tag -f v${MAJOR_VERSION} && git push origin v${MAJOR_VERSION} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + MAJOR_VERSION: ${{ steps.semantic.outputs.new_release_major_version }}