Skip to content

Commit f44dda3

Browse files
committed
release yml
1 parent cbd15f2 commit f44dda3

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/releases.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,16 @@ jobs:
3030
run: |
3131
find . -maxdepth 1 -not -path "./src" -not -path "./.git" -not -path "./composer.json" -not -path "./LICENSE.md" -not -path "./README.md" -not -path "." -print0 | xargs -0 rm -rf
3232
33+
- name: Git add
34+
run: git add .
35+
3336
- name: Git commit
34-
uses: stefanzweifel/git-auto-commit-action@v5
35-
with:
36-
commit_message: "Update version to v${{ steps.version.outputs.version }}"
37+
run: git commit -m "v${{ steps.version.outputs.version }}"
38+
39+
- name: Git tag
40+
run: git tag v${{ steps.version.outputs.version }}
3741

38-
- name: Create release
39-
uses: softprops/action-gh-release@v2
42+
- name: Git push tags
4043
env:
4144
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
with:
43-
tag_name: v${{ steps.version.outputs.version }}
44-
name: v${{ steps.version.outputs.version }}
45-
target_commitish: ${{ github.ref_name }}
46-
make_latest: "${{ github.ref_name == github.event.repository.default_branch }}"
45+
run: git push origin v${{ steps.version.outputs.version }}

0 commit comments

Comments
 (0)