From a5d1538afefa5e52c45f02fae063653513c99655 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Jadda <17564080+pavankjadda@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:49:39 -0400 Subject: [PATCH] fix(release): fixes issue with release --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a52775b..2483553 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,9 @@ jobs: - name: Build packages run: pnpm run build + - name: Semantic release + run: npx semantic-release + - name: Import GPG key uses: crazy-max/ghaction-import-gpg@v6 with: @@ -37,13 +40,9 @@ jobs: - name: Update version in source code run: | - git fetch latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) version=${latest_tag#v} bash release.sh $version ${{ secrets.GPG_KEY_ID }} - - name: Semantic release - run: npx semantic-release - - name: build demo run: pnpm run build:ng-kit-demo