Skip to content

Commit 9936d6e

Browse files
authored
Merge pull request #7 from Adrianmjim/chore/add-readme
fix(actions): Fix create release action
2 parents adcc910 + 694d73c commit 9936d6e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/create_release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,14 @@ jobs:
3535
git config --global user.name "${{ github.event.sender.login }}"
3636
3737
- name: Apply standard-version
38-
run: standard-version -t "" --no-verify
38+
run: standard-version -t "" --no-verify --first-release
3939

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

4444
- name: Commit release
4545
run: |
46-
git add .
47-
git commit --no-verify -m "chore(release): ${{ steps.version.outputs.VERSION }}"
4846
git checkout -b release/${{ steps.version.outputs.VERSION }}
4947
git tag ${{ steps.version.outputs.VERSION }}
5048
git push origin release/${{ steps.version.outputs.VERSION }}

0 commit comments

Comments
 (0)