Skip to content

Commit

Permalink
ci: split version command
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Jun 16, 2022
1 parent cdbd9dc commit 0b87ef5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

1 comment on commit 0b87ef5

@vercel
Copy link

@vercel vercel bot commented on 0b87ef5 Jun 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.