From 0b87ef541b322d314738dcbe1859198492be242b Mon Sep 17 00:00:00 2001 From: janniks Date: Thu, 16 Jun 2022 18:56:23 +0200 Subject: [PATCH] ci: split version command --- .github/workflows/version.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 27b95954c..2a6ac0b55 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -43,11 +43,13 @@ jobs: npx changeset --empty echo '.changeset/' >> .git/info/exclude + - run: git tag -d $(git tag | grep 'beta') + - name: Create Release Pull Request uses: changesets/action@v1 with: title: "chore: version packages" commit: "chore: version packages" - version: git tag -d `git tag | grep 'beta'` && npx lerna version --conventional-commits --no-push --no-git-tag-version --yes + version: npx lerna version --conventional-commits --no-push --no-git-tag-version --yes env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}