Skip to content

Commit

Permalink
fix(actions): Fix create release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrianmjim committed Feb 18, 2024
1 parent a09309a commit 694d73c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,14 @@ jobs:
git config --global user.name "${{ github.event.sender.login }}"
- name: Apply standard-version
run: standard-version -t "" --no-verify
run: standard-version -t "" --no-verify --first-release

- name: Get new version
id: version
run: echo "VERSION=$(jq .version package.json -r)" >> $GITHUB_OUTPUT

- name: Commit release
run: |
git add .
git commit --no-verify -m "chore(release): ${{ steps.version.outputs.VERSION }}"
git checkout -b release/${{ steps.version.outputs.VERSION }}
git tag ${{ steps.version.outputs.VERSION }}
git push origin release/${{ steps.version.outputs.VERSION }}
Expand Down

0 comments on commit 694d73c

Please sign in to comment.